您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

MessagingFactory.OnCreateSubscriptionClient MessagingFactory.OnCreateSubscriptionClient Method

Definition

Overloads

OnCreateSubscriptionClient(String, ReceiveMode) OnCreateSubscriptionClient(String, ReceiveMode)

Executes a create subscription client action.

OnCreateSubscriptionClient(String, String, ReceiveMode) OnCreateSubscriptionClient(String, String, ReceiveMode)

Executes a create subscription client action.

OnCreateSubscriptionClient(String, ReceiveMode) 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

Parameters

subscriptionPath
String String

The subscription path.

receiveMode
ReceiveMode ReceiveMode

The receive mode.

Returns

A newly created subscription client.

OnCreateSubscriptionClient(String, String, ReceiveMode) 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

Parameters

topicPath
String String

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

name
String String

The name of the subscription.

receiveMode
ReceiveMode ReceiveMode

The receive mode.

Returns

A newly created subscription client.

Applies to