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)

Syntax

public Task<Registration> RegisterNativeAsync(
    string channelUri,
    IEnumerable<string> tags
)
public:
Task<Registration^>^ RegisterNativeAsync(
    String^ channelUri,
    IEnumerable<String^>^ tags
)
member RegisterNativeAsync : 
        channelUri:string *
        tags:IEnumerable<string> -> Task<Registration>
Public Function RegisterNativeAsync (
    channelUri As String,
    tags As IEnumerable(Of String)
) As Task(Of Registration)

Parameters

Return Value

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

The task that performs the registration.

Remarks

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

See Also

RegisterNativeAsync Overload
NotificationHub Class
Microsoft.WindowsAzure.Messaging Namespace

Return to top