NotificationHub::RegisterNativeAsync Method (String^, IEnumerable<String^>^)

 

Asynchronously registers the device for native notifications.

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

public:
Task<Registration^>^ RegisterNativeAsync(
	String^ channelUri,
	IEnumerable<String^>^ tags
)

Parameters

channelUri
Type: System::String^

The channel URI.

tags
Type: System.Collections.Generic::IEnumerable<String^>^

The tags.

Return Value

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

The task that performs the registration.

Devices registered in this way can only receive notifications sent with the Microsoft Push Notification Services (MPNS) native format.

Return to top
Show: