MessagingFactory.OnCreateSubscriptionClient Method

Definition

Overloads

OnCreateSubscriptionClient(String, ReceiveMode)

Executes a create subscription client action.

OnCreateSubscriptionClient(String, String, ReceiveMode)

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.

Applies to