Share via


NotificationHubClient.CreateRegistrationIdAsync Method

Definition

Overloads

CreateRegistrationIdAsync()

Asynchronously creates a registration identifier.

CreateRegistrationIdAsync(CancellationToken)

Asynchronously creates a registration identifier.

CreateRegistrationIdAsync()

Asynchronously creates a registration identifier.

public System.Threading.Tasks.Task<string> CreateRegistrationIdAsync ();
abstract member CreateRegistrationIdAsync : unit -> System.Threading.Tasks.Task<string>
override this.CreateRegistrationIdAsync : unit -> System.Threading.Tasks.Task<string>
Public Function CreateRegistrationIdAsync () As Task(Of String)

Returns

The task object representing the asynchronous operation.

Implements

Applies to

CreateRegistrationIdAsync(CancellationToken)

Asynchronously creates a registration identifier.

public System.Threading.Tasks.Task<string> CreateRegistrationIdAsync (System.Threading.CancellationToken cancellationToken);
abstract member CreateRegistrationIdAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.CreateRegistrationIdAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function CreateRegistrationIdAsync (cancellationToken As CancellationToken) As Task(Of String)

Parameters

cancellationToken
CancellationToken

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

Returns

The task object representing the asynchronous operation.

Implements

Applies to