SubscriptionClient.Create Method

Definition

Overloads

Create(String, String)

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

Create(String, String, ReceiveMode)

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

Create(String, String)

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

public static Microsoft.ServiceBus.Messaging.SubscriptionClient Create (string topicPath, string name);
Parameters
topicPath
String

The full pathname of the topic.

name
String

The name of the subscription.

Returns

Create(String, String, ReceiveMode)

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

public static Microsoft.ServiceBus.Messaging.SubscriptionClient Create (string topicPath, string name, Microsoft.ServiceBus.Messaging.ReceiveMode mode);
Parameters
topicPath
String

The full pathname of the topic.

name
String

The name of the subscription.

mode
ReceiveMode

The message receive mode.

Returns