CreateSubscription Method
TOC
Skjul innholdsfortegnelse
Vis innholdsfortegnelse
EN
Dette innholdet er ikke tilgjengelig på ditt språk, men her er den engelske versjonen.

NamespaceManager.CreateSubscription Method

 

Creates a new subscription inside the service namespace.

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

NameDescription
System_CAPS_pubmethodCreateSubscription(String, String)

Creates a new subscription in the service namespace with the specified topic path and subscription name.

System_CAPS_pubmethodCreateSubscription(String, String, Filter)

Creates a new subscription in the service namespace with the specified topic path, subscription name, and filter expression.

System_CAPS_pubmethodCreateSubscription(String, String, RuleDescription)

Creates a new subscription in the service namespace with the specified topic path, subscription name, and rule description.

System_CAPS_pubmethodCreateSubscription(SubscriptionDescription)

Creates a new subscription in the service namespace with the specified subscription description.

System_CAPS_pubmethodCreateSubscription(SubscriptionDescription, Filter)

Creates a new subscription in the service namespace with the specified subscription description and filter expression.

System_CAPS_pubmethodCreateSubscription(SubscriptionDescription, RuleDescription)

Creates a new subscription in the service namespace with the specified subscription description and rule description.

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.

System_CAPS_noteNote

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).

Return to top
Vis:
© 2016 Microsoft