TopicOperationsExtensions.Create Method

Definition

Creates a new topic. Once created, this topic resource manifest is immutable. This operation is not idempotent. Repeating the create call, after a topic with same name has been created successfully, will result in a 409 Conflict error message. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780728.aspx for more information)

public static Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusTopicResponse Create (this Microsoft.WindowsAzure.Management.ServiceBus.ITopicOperations operations, string namespaceName, Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusTopic topic);
static member Create : Microsoft.WindowsAzure.Management.ServiceBus.ITopicOperations * string * Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusTopic -> Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusTopicResponse
<Extension()>
Public Function Create (operations As ITopicOperations, namespaceName As String, topic As ServiceBusTopic) As ServiceBusTopicResponse

Parameters

operations
ITopicOperations

Reference to the Microsoft.WindowsAzure.Management.ServiceBus.ITopicOperations.

namespaceName
String

Required. The namespace name.

topic
ServiceBusTopic

Required. The Service Bus topic.

Returns

A response to a request for a particular topic.

Applies to