Skip to content
DocsTry Aspire
DocsTry

AzureMessagingServiceBusSettings Properties

ClassProperties8 members
Provides the client configuration settings for connecting to Azure Service Bus.
ConnectionStringSection titled ConnectionStringnullablestring?
Gets or sets the connection string used to connect to the Service Bus namespace.
public string? ConnectionString { get; set; }
CredentialSection titled CredentialnullableTokenCredential?
Gets or sets the credential used to authenticate to the Service Bus namespace.
public TokenCredential? Credential { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }
ServiceBus ActivitySource support in Azure SDK is experimental, the shape of Activities may change in the future without notice. It can be enabled by setting "Azure.Experimental.EnableActivitySource" AppContext switch to true. Or by setting "AZURE_EXPERIMENTAL_ENABLE_ACTIVITY_SOURCE" environment variable to "true".
FullyQualifiedNamespaceSection titled FullyQualifiedNamespacenullablestring?
Gets or sets the fully qualified Service Bus namespace.
public string? FullyQualifiedNamespace { get; set; }
Used along with AzureMessagingServiceBusSettings.Credential to establish the connection.
HealthCheckQueueNameSection titled HealthCheckQueueNamenullablestring?
Name of the queue used by the health check. Mandatory to get health checks enabled.
public string? HealthCheckQueueName { get; set; }
HealthCheckTopicNameSection titled HealthCheckTopicNamenullablestring?
Name of the topic used by the health check. Mandatory to get health checks enabled.
public string? HealthCheckTopicName { get; set; }
QueueOrTopicNameSection titled QueueOrTopicNamenullablestring?
Name of the queue or topic associated with the connection string.
public string? QueueOrTopicName { get; set; }
SubscriptionNameSection titled SubscriptionNamenullablestring?
Name of the subscription associated with the connection string.
public string? SubscriptionName { get; set; }