# AzureMessagingServiceBusSettings

- Kind: `class`
- Package: [Aspire.Azure.Messaging.ServiceBus](/reference/api/csharp/aspire.azure.messaging.servicebus.md)
- Version: `13.3.0`
- Namespace: `Aspire.Azure.Messaging.ServiceBus`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.Messaging.ServiceBus/AzureMessagingServiceBusSettings.cs)
- Implements: `IConnectionStringSettings`

Provides the client configuration settings for connecting to Azure Service Bus.

## Definition

```csharp
namespace Aspire.Azure.Messaging.ServiceBus;

public sealed class AzureMessagingServiceBusSettings
    : Aspire.Azure.Common.IConnectionStringSettings
{
    // ...
}
```

## Constructors

- [AzureMessagingServiceBusSettings](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/constructors.md#constructor)

## Properties

- [ConnectionString](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#connectionstring) : `string?` `get; set` -- Gets or sets the connection string used to connect to the Service Bus namespace.
- [Credential](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#credential) : `TokenCredential?` `get; set` -- Gets or sets the credential used to authenticate to the Service Bus namespace.
- [DisableTracing](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
- [FullyQualifiedNamespace](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#fullyqualifiednamespace) : `string?` `get; set` -- Gets or sets the fully qualified Service Bus namespace.
- [HealthCheckQueueName](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#healthcheckqueuename) : `string?` `get; set` -- Name of the queue used by the health check. Mandatory to get health checks enabled.
- [HealthCheckTopicName](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#healthchecktopicname) : `string?` `get; set` -- Name of the topic used by the health check. Mandatory to get health checks enabled.
- [QueueOrTopicName](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#queueortopicname) : `string?` `get; set` -- Name of the queue or topic associated with the connection string.
- [SubscriptionName](/reference/api/csharp/aspire.azure.messaging.servicebus/azuremessagingservicebussettings/properties.md#subscriptionname) : `string?` `get; set` -- Name of the subscription associated with the connection string.
