AzureMessagingServiceBusSettings Properties
Class Properties 8 members
Provides the client configuration settings for connecting to Azure Service Bus.
Gets or sets the connection string used to connect to the Service Bus namespace.
public string? ConnectionString { get; set; }Remarks
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; }Remarks
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". Gets or sets the fully qualified Service Bus namespace.
public string? FullyQualifiedNamespace { get; set; }Remarks
Used along with
AzureMessagingServiceBusSettings.Credential to establish the connection. Name of the queue used by the health check. Mandatory to get health checks enabled.
public string? HealthCheckQueueName { get; set; } Name of the topic used by the health check. Mandatory to get health checks enabled.
public string? HealthCheckTopicName { get; set; } Name of the queue or topic associated with the connection string.
public string? QueueOrTopicName { get; set; } Name of the subscription associated with the connection string.
public string? SubscriptionName { get; set; }