SubscriptionClient.Create SubscriptionClient.Create SubscriptionClient.Create Method

Definition

Overloads

Create(String, String) Create(String, String) Create(String, String)

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

Create(String, String, ReceiveMode) Create(String, String, ReceiveMode) Create(String, String, ReceiveMode)

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

Create(String, String) Create(String, String) 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);
static member Create : string * string -> Microsoft.ServiceBus.Messaging.SubscriptionClient
Public Shared Function Create (topicPath As String, name As String) As SubscriptionClient
Parameters
topicPath
String String String

The full pathname of the topic.

name
String String String

The name of the subscription.

Returns

Create(String, String, ReceiveMode) Create(String, String, ReceiveMode) 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);
static member Create : string * string * Microsoft.ServiceBus.Messaging.ReceiveMode -> Microsoft.ServiceBus.Messaging.SubscriptionClient
Public Shared Function Create (topicPath As String, name As String, mode As ReceiveMode) As SubscriptionClient
Parameters
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