共用方式為


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

Parameters

namespaceName
String

The namespace name.

region
String

The namespace region.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response to a request for a particular namespace.

Applies to