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);
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);
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);
Parameters
registrationId
String

The registration ID.

etag
String

The entity tag.

Returns

The task that completes the asynchronous operation.

Exceptions