SubscriptionClient.CreateFromConnectionString SubscriptionClient.CreateFromConnectionString SubscriptionClient.CreateFromConnectionString Method

Definition

Overloads

CreateFromConnectionString(String, String, String) CreateFromConnectionString(String, String, String) CreateFromConnectionString(String, String, String)

Creates a new copy of SubscriptionClient from a connection string with specified topic path and name.

CreateFromConnectionString(String, String, String, ReceiveMode) CreateFromConnectionString(String, String, String, ReceiveMode) CreateFromConnectionString(String, String, String, ReceiveMode)

Creates a new copy of SubscriptionClient from a connection string with specified topic path, name and mode.

CreateFromConnectionString(String, String, String) CreateFromConnectionString(String, String, String) CreateFromConnectionString(String, String, String)

Creates a new copy of SubscriptionClient from a connection string with specified topic path and name.

public static Microsoft.ServiceBus.Messaging.SubscriptionClient CreateFromConnectionString (string connectionString, string topicPath, string name);
static member CreateFromConnectionString : string * string * string -> Microsoft.ServiceBus.Messaging.SubscriptionClient
Public Shared Function CreateFromConnectionString (connectionString As String, topicPath As String, name As String) As SubscriptionClient
Parameters
connectionString
String String String

The connection string.

topicPath
String String String

The full pathname of the topic.

name
String String String

The name of the subscription.

Returns

CreateFromConnectionString(String, String, String, ReceiveMode) CreateFromConnectionString(String, String, String, ReceiveMode) CreateFromConnectionString(String, String, String, ReceiveMode)

Creates a new copy of SubscriptionClient from a connection string with specified topic path, name and mode.

public static Microsoft.ServiceBus.Messaging.SubscriptionClient CreateFromConnectionString (string connectionString, string topicPath, string name, Microsoft.ServiceBus.Messaging.ReceiveMode mode);
static member CreateFromConnectionString : string * string * string * Microsoft.ServiceBus.Messaging.ReceiveMode -> Microsoft.ServiceBus.Messaging.SubscriptionClient
Public Shared Function CreateFromConnectionString (connectionString As String, topicPath As String, name As String, mode As ReceiveMode) As SubscriptionClient
Parameters
connectionString
String String String

The connection string.

topicPath
String String String

The full pathname of the topic.

name
String String String

The name of the subscription.

mode
ReceiveMode ReceiveMode ReceiveMode

The message receive mode.

Returns

Applies to