Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RunAsEmulator

Method
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
func (AzureServiceBusResource) RunAsEmulator(options ...*RunAsEmulatorOptions) AzureServiceBusResource

Signature

methodRunAsEmulatorbuilder
Configures the Azure Service Bus resource to run with the local emulator
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureServiceBusResource
options...*RunAsEmulatorOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*RunAsEmulatorOptions argument.

ConfigureContainerfunc(obj AzureServiceBusEmulatorResource)callback
AzureServiceBusResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: