NotificationHub::RegisterAsync Method (Registration^)

 

Creates a new registration (or updates an existing one) as specified in the registration parameter. Depending upon the type of the registration parameter (Registration or TemplateRegistration), the registration of a native or template notification is created or updated.

Namespace:   Microsoft.WindowsAzure.Messaging
Assembly:  Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)

public:
Task<Registration^>^ RegisterAsync(
	Registration^ registration
)

Parameters

registration
Type: Microsoft.WindowsAzure.Messaging::Registration^

The notification hub registration.

Return Value

Type: System.Threading.Tasks::Task<Registration^>^

The task that performs the registration.

Return to top
Show: