SubscriptionClient.CreateFromConnectionString Method

Definition

Overloads

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)

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

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);
Parameters
connectionString
String

The connection string.

topicPath
String

The full pathname of the topic.

name
String

The name of the subscription.

mode
ReceiveMode

The message receive mode.

Returns

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);
Parameters
connectionString
String

The connection string.

topicPath
String

The full pathname of the topic.

name
String

The name of the subscription.

Returns