Udostępnij za pośrednictwem


ServiceBusClientOptions Class

Definition

The set of options that can be specified when creating an Azure.Messaging.ServiceBus.ServiceBusConnection to configure its behavior.

public class ServiceBusClientOptions
type ServiceBusClientOptions = class
Public Class ServiceBusClientOptions
Inheritance
ServiceBusClientOptions

Constructors

ServiceBusClientOptions()

Properties

ConnectionIdleTimeout

The amount of time to allow a connection to have no observed traffic before considering it idle and eligible to close.

CustomEndpointAddress

A custom endpoint address that can be used when establishing the connection to the Service Bus service.

EnableCrossEntityTransactions

Gets or sets a flag that indicates whether or not transactions may span multiple Service Bus entities.

Identifier

A property used to set the ServiceBusClient ID to identify the client. This can be used to correlate logs and exceptions. If null or empty, a random unique value will be used.

RetryOptions

The set of options to use for determining whether a failed service operation should be retried and, if so, the amount of time to wait between retry attempts. These options also control the amount of time allowed for the individual network operations used for interactions with the Service Bus service.

TransportType

The type of protocol and transport that will be used for communicating with the Service Bus service.

WebProxy

The proxy to use for communication over web sockets.

Applies to