NotificationHubClient.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>
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
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin