NotificationHubClient.GetAllRegistrationsAsync 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
GetAllRegistrationsAsync(String, Int32, CancellationToken) |
Asynchronously retrieves all registrations in this notification hub. |
GetAllRegistrationsAsync(Int32) |
Asynchronously retrieves all registrations in this notification hub. |
GetAllRegistrationsAsync(Int32, CancellationToken) |
Asynchronously retrieves all registrations in this notification hub. |
GetAllRegistrationsAsync(String, Int32) |
Asynchronously retrieves all registrations in this notification hub. |
GetAllRegistrationsAsync(String, Int32, CancellationToken)
Asynchronously retrieves all registrations in this notification hub.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetAllRegistrationsAsync (string continuationToken, int top, System.Threading.CancellationToken cancellationToken);
abstract member GetAllRegistrationsAsync : string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
override this.GetAllRegistrationsAsync : string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetAllRegistrationsAsync (continuationToken As String, top As Integer, cancellationToken As CancellationToken) As Task(Of CollectionQueryResult(Of RegistrationDescription))
Parameters
- continuationToken
- String
The continuation token.
- top
- Int32
The location of the registration.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
The task that completes the asynchronous operation, which will contain a null or empty continuation token when there is no additional data available in the query.
Implements
Applies to
GetAllRegistrationsAsync(Int32)
Asynchronously retrieves all registrations in this notification hub.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetAllRegistrationsAsync (int top);
abstract member GetAllRegistrationsAsync : int -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
override this.GetAllRegistrationsAsync : int -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetAllRegistrationsAsync (top As Integer) As Task(Of CollectionQueryResult(Of RegistrationDescription))
Parameters
- top
- Int32
The location of the registration.
Returns
The task that completes the asynchronous operation, which will contain a null or empty continuation token when there is no additional data available in the query.
Implements
Applies to
GetAllRegistrationsAsync(Int32, CancellationToken)
Asynchronously retrieves all registrations in this notification hub.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetAllRegistrationsAsync (int top, System.Threading.CancellationToken cancellationToken);
abstract member GetAllRegistrationsAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
override this.GetAllRegistrationsAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetAllRegistrationsAsync (top As Integer, cancellationToken As CancellationToken) As Task(Of CollectionQueryResult(Of RegistrationDescription))
Parameters
- top
- Int32
The location of the registration.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
The task that completes the asynchronous operation, which will contain a null or empty continuation token when there is no additional data available in the query.
Implements
Applies to
GetAllRegistrationsAsync(String, Int32)
Asynchronously retrieves all registrations in this notification hub.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetAllRegistrationsAsync (string continuationToken, int top);
abstract member GetAllRegistrationsAsync : string * int -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
override this.GetAllRegistrationsAsync : string * int -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetAllRegistrationsAsync (continuationToken As String, top As Integer) As Task(Of CollectionQueryResult(Of RegistrationDescription))
Parameters
- continuationToken
- String
The continuation token.
- top
- Int32
The location of the registration.
Returns
The task that completes the asynchronous operation, which will contain a null or empty continuation token when there is no additional data available in the query.
Implements
Applies to
Azure SDK for .NET