INamespaceOperations.CreateAsync(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.