共用方式為


NamespaceOperationsExtensions.CreateAsync 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> CreateAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName, string region);
static member CreateAsync : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceResponse>
<Extension()>
Public Function CreateAsync (operations As INamespaceOperations, namespaceName As String, region As String) As Task(Of ServiceBusNamespaceResponse)

Parameters

operations
INamespaceOperations

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

namespaceName
String

Required. The namespace name.

region
String

Optional. The namespace region.

Returns

The response to a request for a particular namespace.

Applies to