Share via


INamespaceManager.NotificationHubExistsAsync Method

Definition

Overloads

NotificationHubExistsAsync(String)

Checks whether a notification hub exists asynchronously.

NotificationHubExistsAsync(String, CancellationToken)

Checks whether a notification hub exists asynchronously.

NotificationHubExistsAsync(String)

Checks whether a notification hub exists asynchronously.

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

Parameters

path
String

The notification hub path.

Returns

A task that represents the asynchronous hub check operation

Applies to

NotificationHubExistsAsync(String, CancellationToken)

Checks whether a notification hub exists asynchronously.

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

Parameters

path
String

The notification hub path.

cancellationToken
CancellationToken

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

Returns

A task that represents the asynchronous hub check operation

Applies to