MessagingFactory.OnCreateSubscriptionClient Method

Definition

Overloads

On<wbr>Create<wbr>Subscription<wbr>Client(String, Receive<wbr>Mode)

Executes a create subscription client action.

On<wbr>Create<wbr>Subscription<wbr>Client(String, String, Receive<wbr>Mode)

Executes a create subscription client action.

OnCreateSubscriptionClient(String, ReceiveMode)

Executes a create subscription client action.

protected virtual Microsoft.ServiceBus.Messaging.SubscriptionClient OnCreateSubscriptionClient (string subscriptionPath, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode);
Parameters
subscriptionPath
String

The subscription path.

receiveMode
ReceiveMode

The receive mode.

Returns

A newly created subscription client.

OnCreateSubscriptionClient(String, String, ReceiveMode)

Executes a create subscription client action.

protected virtual Microsoft.ServiceBus.Messaging.SubscriptionClient OnCreateSubscriptionClient (string topicPath, string name, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode);
Parameters
topicPath
String

The path of the subscription relative to the service namespace base address.

name
String

The name of the subscription.

receiveMode
ReceiveMode

The receive mode.

Returns

A newly created subscription client.