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

Parameters

topicPath
String

The full pathname of the topic.

name
String

The name of the subscription.

Returns

A new copy of SubscriptionClient.

Applies to

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

The full pathname of the topic.

name
String

The name of the subscription.

mode
ReceiveMode

The message receive mode.

Returns

A new copy of SubscriptionClient.

Applies to