Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

NamespaceManager.CreateSubscription Method

Creates a new subscription inside the service namespace.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method CreateSubscription(SubscriptionDescription) Creates a new subscription in the service namespace with the specified subscription description.
Public method CreateSubscription(String, String) Creates a new subscription in the service namespace with the specified topic path and subscription name.
Public method CreateSubscription(SubscriptionDescription, Filter) Creates a new subscription in the service namespace with the specified subscription description and filter expression.
Public method CreateSubscription(SubscriptionDescription, RuleDescription) Creates a new subscription in the service namespace with the specified subscription description and rule description.
Public method CreateSubscription(String, String, Filter) Creates a new subscription in the service namespace with the specified topic path, subscription name, and filter expression.
Public method CreateSubscription(String, String, RuleDescription) Creates a new subscription in the service namespace with the specified topic path, subscription name, and rule description.
Top

If you do not create a subscription using one of the overloads that explicitly specifies a rule description, a default rule will be created for you.

Note Note

The only permitted characters in a subscription name are “0-9,” “a-z,” “A-Z,” “_” and “.” (period). If you create a subscription with a name containing special or encoded characters (for example, "test?Name=value&" or "test%3FName%3Dvalue%26", a ArgumentException or WebException with the message "The remote server returned an error: (401) Unauthorized" will be generated. Subscription names cannot be nested (for example, Test/MySubscription).

Topluluk İçeriği

Ekle
Show:
© 2014 Microsoft