INotificationHubClient.CreateRegistrationIdAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
Public Function CreateRegistrationIdAsync () As Task(Of String)
Returns
The task object representing the asynchronous operation.
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>
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.
Applies to
Azure SDK for .NET