SALES: 1-800-867-1380
CreateTopic Method
TOC
Collapse the table of content
Expand the table of content

NamespaceManager.CreateTopic Method

 

Creates a new topic inside the service namespace.

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

NameDescription
System_CAPS_pubmethodCreateTopic(String)

Creates a new topic inside the service namespace with the given service namespace path.

System_CAPS_pubmethodCreateTopic(TopicDescription)

Creates a new topic inside the service namespace with the specified topic description.

System_CAPS_noteNote

The only permitted characters in a topic name are “0-9,” “a-z,” “A-Z,” “_” and “.” (period). If you create a topic 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. However, topic names can be nested, for example My/Topic.

Return to top
Show:
© 2016 Microsoft