Delen via


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);
abstract member OnCreateSubscriptionClient : string * Microsoft.ServiceBus.Messaging.ReceiveMode -> Microsoft.ServiceBus.Messaging.SubscriptionClient
override this.OnCreateSubscriptionClient : string * Microsoft.ServiceBus.Messaging.ReceiveMode -> Microsoft.ServiceBus.Messaging.SubscriptionClient
Protected Overridable Function OnCreateSubscriptionClient (subscriptionPath As String, receiveMode As ReceiveMode) As SubscriptionClient

Parameters

subscriptionPath
String

The subscription path.

receiveMode
ReceiveMode

The receive mode.

Returns

A newly created subscription client.

Applies to

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);
abstract member OnCreateSubscriptionClient : string * string * Microsoft.ServiceBus.Messaging.ReceiveMode -> Microsoft.ServiceBus.Messaging.SubscriptionClient
override this.OnCreateSubscriptionClient : string * string * Microsoft.ServiceBus.Messaging.ReceiveMode -> Microsoft.ServiceBus.Messaging.SubscriptionClient
Protected Overridable Function OnCreateSubscriptionClient (topicPath As String, name As String, receiveMode As ReceiveMode) As SubscriptionClient

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