NamespaceManager.GetNotificationHubsAsync 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
GetNotificationHubsAsync() |
Gets the notification hubs asynchronously. |
GetNotificationHubsAsync(CancellationToken) |
Gets the notification hubs asynchronously. |
GetNotificationHubsAsync()
Gets the notification hubs asynchronously.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.NotificationHubs.NotificationHubDescription>> GetNotificationHubsAsync ();
abstract member GetNotificationHubsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Azure.NotificationHubs.NotificationHubDescription>>
override this.GetNotificationHubsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Azure.NotificationHubs.NotificationHubDescription>>
Public Function GetNotificationHubsAsync () As Task(Of IEnumerable(Of NotificationHubDescription))
Returns
A task that represents the asynchronous get hubs operation
Implements
Applies to
GetNotificationHubsAsync(CancellationToken)
Gets the notification hubs asynchronously.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.NotificationHubs.NotificationHubDescription>> GetNotificationHubsAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetNotificationHubsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.NotificationHubs.NotificationHubDescription>>
override this.GetNotificationHubsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.NotificationHubs.NotificationHubDescription>>
Public Function GetNotificationHubsAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of NotificationHubDescription))
Parameters
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A task that represents the asynchronous get hubs operation