共用方式為


NamespaceManager.GetNotificationHubsAsync Method

Definition

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

Implements

Applies to