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

System.Threading.Tasks.Task

The task that completes the asynchronous operation.

Exceptions

System.ArgumentNullException

Thrown when registration object is null.

Applies to

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
System.String

The registration ID.

Returns

System.Threading.Tasks.Task

The task that completes the asynchronous operation.

Applies to

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
System.String

The registration ID.

etag
System.String

The entity tag.

Returns

System.Threading.Tasks.Task

The task that completes the asynchronous operation.

Exceptions

System.ArgumentNullException

registrationId

Applies to