NotificationHub.RegisterNativeAsync Method (String)

 

Asynchronously registers the device for native notifications.

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

Syntax

public Task<Registration> RegisterNativeAsync(
    string channelUri
)
public:
Task<Registration^>^ RegisterNativeAsync(
    String^ channelUri
)
member RegisterNativeAsync : 
        channelUri:string -> Task<Registration>
Public Function RegisterNativeAsync (
    channelUri As 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 Windows Store native format.

See Also

RegisterNativeAsync Overload
NotificationHub Class
Microsoft.WindowsAzure.Messaging Namespace

Return to top