NotificationHubClient.GetRegistrationAsync
Method
Definition
Asynchronously retrieves a registration with a given ID. The type of the registration depends upon the specified TRegistrationDescription parameter.
public System.Threading.Tasks.Task<TRegistrationDescription> GetRegistrationAsync<TRegistrationDescription> (string registrationId) where TRegistrationDescription : Microsoft.Azure.NotificationHubs.RegistrationDescription;
Type Parameters
- TRegistrationDescription
The type of registration description.
Parameters
- registrationId
- String
The registration ID.
Returns
Task<TRegistrationDescription>
The task that completes the asynchronous operation.
Exceptions
Thrown when registrationId is null