Bagikan melalui


INotificationHubClient.GetAllRegistrationsAsync Method

Definition

Overloads

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.

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>>
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.

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>>
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.

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>>
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.

Applies to

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>>
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.

Applies to