Udostępnij za pośrednictwem


INotificationHubOperations.DeleteAsync Method

Definition

Deletes a notification hub associated with a namespace.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string namespaceName, string notificationHubName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (namespaceName As String, notificationHubName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

namespaceName
String

The namespace name.

notificationHubName
String

The notification hub name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to