NotificationHubClient.DeleteRegistrationAsync Method

Definition

Overloads

DeleteRegistrationAsync(RegistrationDescription)

Asynchronously deletes the registration.

DeleteRegistrationAsync(String)

Asynchronously deletes the registration.

DeleteRegistrationAsync(String, String)

Asynchronously deletes the registration.

DeleteRegistrationAsync(RegistrationDescription)

Asynchronously deletes the registration.

public System.Threading.Tasks.Task DeleteRegistrationAsync (Microsoft.Azure.NotificationHubs.RegistrationDescription registration);
member this.DeleteRegistrationAsync : Microsoft.Azure.NotificationHubs.RegistrationDescription -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registration As RegistrationDescription) As Task

Parameters

registration
RegistrationDescription

The registration to delete.

Returns

The task that completes the asynchronous operation.

Exceptions

Thrown when registration object is null.

DeleteRegistrationAsync(String)

Asynchronously deletes the registration.

public System.Threading.Tasks.Task DeleteRegistrationAsync (string registrationId);
member this.DeleteRegistrationAsync : string -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registrationId As String) As Task

Parameters

registrationId
String

The registration ID.

Returns

The task that completes the asynchronous operation.

DeleteRegistrationAsync(String, String)

Asynchronously deletes the registration.

public System.Threading.Tasks.Task DeleteRegistrationAsync (string registrationId, string etag);
member this.DeleteRegistrationAsync : string * string -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registrationId As String, etag As String) As Task

Parameters

registrationId
String

The registration ID.

etag
String

The entity tag.

Returns

The task that completes the asynchronous operation.

Exceptions

registrationId

Applies to