共用方式為


NotificationHubClient.CreateWindowsNativeRegistrationAsync Method

Definition

Overloads

CreateWindowsNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates Windows native registration.

CreateWindowsNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates Windows native registration.

CreateWindowsNativeRegistrationAsync(String)

Asynchronously creates Windows native registration.

CreateWindowsNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates Windows native registration.

CreateWindowsNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates Windows native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription> CreateWindowsNativeRegistrationAsync (string channelUri, System.Threading.CancellationToken cancellationToken);
abstract member CreateWindowsNativeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
override this.CreateWindowsNativeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
Public Function CreateWindowsNativeRegistrationAsync (channelUri As String, cancellationToken As CancellationToken) As Task(Of WindowsRegistrationDescription)

Parameters

channelUri
String

The channel URI.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateWindowsNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates Windows native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription> CreateWindowsNativeRegistrationAsync (string channelUri, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member CreateWindowsNativeRegistrationAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
override this.CreateWindowsNativeRegistrationAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
Public Function CreateWindowsNativeRegistrationAsync (channelUri As String, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of WindowsRegistrationDescription)

Parameters

channelUri
String

The channel URI.

tags
IEnumerable<String>

The tags.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateWindowsNativeRegistrationAsync(String)

Asynchronously creates Windows native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription> CreateWindowsNativeRegistrationAsync (string channelUri);
abstract member CreateWindowsNativeRegistrationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
override this.CreateWindowsNativeRegistrationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
Public Function CreateWindowsNativeRegistrationAsync (channelUri As String) As Task(Of WindowsRegistrationDescription)

Parameters

channelUri
String

The channel URI.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateWindowsNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates Windows native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription> CreateWindowsNativeRegistrationAsync (string channelUri, System.Collections.Generic.IEnumerable<string> tags);
abstract member CreateWindowsNativeRegistrationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
override this.CreateWindowsNativeRegistrationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription>
Public Function CreateWindowsNativeRegistrationAsync (channelUri As String, tags As IEnumerable(Of String)) As Task(Of WindowsRegistrationDescription)

Parameters

channelUri
String

The channel URI.

tags
IEnumerable<String>

The tags.

Returns

The task that completes the asynchronous operation.

Implements

Applies to