INamespaceManager.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>>
Public Function GetNotificationHubsAsync () As Task(Of IEnumerable(Of NotificationHubDescription))
Returns
A task that represents the asynchronous get hubs operation
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>>
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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET