SALES: 1-800-867-1380
Expand Minimize

NotificationHubClient.GetRegistrationAsync<TRegistrationDescription> Method

Asynchronously retrieves a registration with a given ID. The type of the registration depends upon the specified TRegistrationDescription parameter.

Namespace:  Microsoft.ServiceBus.Notifications
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Task<TRegistrationDescription> GetRegistrationAsync<TRegistrationDescription>(
	string registrationId
)
where TRegistrationDescription : RegistrationDescription

Type Parameters

TRegistrationDescription

The type of registration description.

Parameters

registrationId
Type: System.String
The registration ID.

Return Value

Type: System.Threading.Tasks.Task<TRegistrationDescription>
The task that completes the asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft