AzureMessagingEventHubsSettings Properties
Class Properties 6 members
Represents additional shared settings for configuring an Event Hubs client.
Gets or sets the connection string used to connect to the Event Hubs namespace.
public string? ConnectionString { get; set; }Remarks
Gets or sets the credential used to authenticate to the Event Hubs namespace.
public TokenCredential? Credential { get; set; } Gets or sets a boolean value that indicates whether the Azure Event Hubs health check is disabled or not.
public bool DisableHealthChecks { get; set; } Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }Remarks
Event Hubs 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 name of the Event Hub.
public string? EventHubName { get; set; } Gets or sets the fully qualified Event Hubs namespace.
public string? FullyQualifiedNamespace { get; set; }Remarks
Used along with
AzureMessagingEventHubsSettings.Credential to establish the connection.