Dela via


NamespaceOperationsExtensions.CreateNamespaceAsync Method

Definition

Creates a new service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj856303.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceResponse> CreateNamespaceAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName, Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceCreateParameters namespaceEntity);
static member CreateNamespaceAsync : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string * Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceResponse>
<Extension()>
Public Function CreateNamespaceAsync (operations As INamespaceOperations, namespaceName As String, namespaceEntity As ServiceBusNamespaceCreateParameters) As Task(Of ServiceBusNamespaceResponse)

Parameters

operations
INamespaceOperations

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

namespaceName
String

Required. The namespace name.

namespaceEntity
ServiceBusNamespaceCreateParameters

Required. The service bus namespace.

Returns

The response to a request for a particular namespace.

Applies to