INamespaceOperations.CreateNamespaceAsync 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> CreateNamespaceAsync (string namespaceName, Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceCreateParameters namespaceEntity, System.Threading.CancellationToken cancellationToken);
abstract member CreateNamespaceAsync : string * Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespaceResponse>
Public Function CreateNamespaceAsync (namespaceName As String, namespaceEntity As ServiceBusNamespaceCreateParameters, cancellationToken As CancellationToken) As Task(Of ServiceBusNamespaceResponse)
Parameters
- namespaceName
- String
The namespace name.
- namespaceEntity
- ServiceBusNamespaceCreateParameters
The service bus namespace.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response to a request for a particular namespace.