ServiceBusConnection Constructors

Definition

Overloads

ServiceBusConnection(ServiceBusConnectionStringBuilder)
ServiceBusConnection(String)
ServiceBusConnection(String, RetryPolicy)
ServiceBusConnection(String, TransportType, RetryPolicy)
ServiceBusConnection(String, TimeSpan, RetryPolicy)

ServiceBusConnection(ServiceBusConnectionStringBuilder)

public ServiceBusConnection (Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder connectionStringBuilder);
new Microsoft.Azure.ServiceBus.ServiceBusConnection : Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder -> Microsoft.Azure.ServiceBus.ServiceBusConnection
Public Sub New (connectionStringBuilder As ServiceBusConnectionStringBuilder)

Parameters

connectionStringBuilder
ServiceBusConnectionStringBuilder

ServiceBusConnection(String)

public ServiceBusConnection (string namespaceConnectionString);
new Microsoft.Azure.ServiceBus.ServiceBusConnection : string -> Microsoft.Azure.ServiceBus.ServiceBusConnection
Public Sub New (namespaceConnectionString As String)

Parameters

namespaceConnectionString
String

ServiceBusConnection(String, RetryPolicy)

public ServiceBusConnection (string namespaceConnectionString, Microsoft.Azure.ServiceBus.RetryPolicy retryPolicy = null);
new Microsoft.Azure.ServiceBus.ServiceBusConnection : string * Microsoft.Azure.ServiceBus.RetryPolicy -> Microsoft.Azure.ServiceBus.ServiceBusConnection

Parameters

namespaceConnectionString
String
retryPolicy
RetryPolicy

ServiceBusConnection(String, TransportType, RetryPolicy)

public ServiceBusConnection (string endpoint, Microsoft.Azure.ServiceBus.TransportType transportType, Microsoft.Azure.ServiceBus.RetryPolicy retryPolicy = null);
new Microsoft.Azure.ServiceBus.ServiceBusConnection : string * Microsoft.Azure.ServiceBus.TransportType * Microsoft.Azure.ServiceBus.RetryPolicy -> Microsoft.Azure.ServiceBus.ServiceBusConnection

Parameters

endpoint
String
transportType
TransportType
retryPolicy
RetryPolicy

ServiceBusConnection(String, TimeSpan, RetryPolicy)

Warning

This API is now obsolete.

[System.Obsolete("This constructor is obsolete. Use ServiceBusConnection(string namespaceConnectionString, RetryPolicy retryPolicy) constructor instead, providing operationTimeout in the connection string.")]
public ServiceBusConnection (string namespaceConnectionString, TimeSpan operationTimeout, Microsoft.Azure.ServiceBus.RetryPolicy retryPolicy = null);
new Microsoft.Azure.ServiceBus.ServiceBusConnection : string * TimeSpan * Microsoft.Azure.ServiceBus.RetryPolicy -> Microsoft.Azure.ServiceBus.ServiceBusConnection

Parameters

namespaceConnectionString
String
operationTimeout
TimeSpan
retryPolicy
RetryPolicy
Attributes

Applies to