导出 (0) 打印
全部展开
EN
此内容没有您的语言版本,但有英语版本。

Topic.AddSubscription Method (String, SubscriptionDescription, FilterExpression)

Adds a subscription to this topic, with the supplied filter as the default filter.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)

public Subscription AddSubscription(
	string name,
	SubscriptionDescription description,
	FilterExpression filter
)

Parameters

name
Type: System.String
Name of the subscription.
description
Type: Microsoft.ServiceBus.Messaging.SubscriptionDescription
Metadata of the subscription to be created.
filter
Type: Microsoft.ServiceBus.Messaging.Filters.FilterExpression
The filter expression.

Return Value

Type: Microsoft.ServiceBus.Messaging.Subscription
An instance of the Subscription management entity.
显示:
© 2014 Microsoft