Udostępnij za pośrednictwem


INotificationHubClient.RegistrationExistsAsync Method

Definition

Overloads

RegistrationExistsAsync(String)

Asynchronously indicates that the registration already exists.

RegistrationExistsAsync(String, CancellationToken)

Asynchronously indicates that the registration already exists.

RegistrationExistsAsync(String)

Asynchronously indicates that the registration already exists.

public System.Threading.Tasks.Task<bool> RegistrationExistsAsync (string registrationId);
abstract member RegistrationExistsAsync : string -> System.Threading.Tasks.Task<bool>
Public Function RegistrationExistsAsync (registrationId As String) As Task(Of Boolean)

Parameters

registrationId
String

The registration ID.

Returns

The task that completes the asynchronous operation.

Applies to

RegistrationExistsAsync(String, CancellationToken)

Asynchronously indicates that the registration already exists.

public System.Threading.Tasks.Task<bool> RegistrationExistsAsync (string registrationId, System.Threading.CancellationToken cancellationToken);
abstract member RegistrationExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function RegistrationExistsAsync (registrationId As String, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

registrationId
String

The registration ID.

cancellationToken
CancellationToken

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

Returns

The task that completes the asynchronous operation.

Applies to