NotificationHubClient.RegistrationExistsAsync Method

Definition

Overloads

RegistrationExistsAsync(String, CancellationToken)

Asynchronously indicates that the registration already exists.

RegistrationExistsAsync(String)

Asynchronously indicates that the registration already exists.

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>
override this.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
System.String

The registration ID.

cancellationToken
System.Threading.CancellationToken

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

Returns

System.Threading.Tasks.Task<System.Boolean>

The task that completes the asynchronous operation.

Implements

Applies to

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>
override this.RegistrationExistsAsync : string -> System.Threading.Tasks.Task<bool>
Public Function RegistrationExistsAsync (registrationId As String) As Task(Of Boolean)

Parameters

registrationId
System.String

The registration ID.

Returns

System.Threading.Tasks.Task<System.Boolean>

The task that completes the asynchronous operation.

Implements

Applies to