INamespaceManager.NotificationHubExistsAsync 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
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
Azure SDK for .NET