Udostępnij za pośrednictwem


INotificationHubClient.GetRegistrationsByTagAsync Method

Definition

Overloads

GetRegistrationsByTagAsync(String, Int32)

Asynchronously gets the registrations by tag.

GetRegistrationsByTagAsync(String, Int32, CancellationToken)

Asynchronously gets the registrations by tag.

GetRegistrationsByTagAsync(String, String, Int32)

Asynchronously gets the registrations by tag.

GetRegistrationsByTagAsync(String, String, Int32, CancellationToken)

Asynchronously gets the registrations by tag.

GetRegistrationsByTagAsync(String, Int32)

Asynchronously gets the registrations by tag.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetRegistrationsByTagAsync (string tag, int top);
abstract member GetRegistrationsByTagAsync : string * int -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetRegistrationsByTagAsync (tag As String, top As Integer) As Task(Of CollectionQueryResult(Of RegistrationDescription))

Parameters

tag
String

The tag.

top
Int32

The location where to get the registrations.

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

GetRegistrationsByTagAsync(String, Int32, CancellationToken)

Asynchronously gets the registrations by tag.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetRegistrationsByTagAsync (string tag, int top, System.Threading.CancellationToken cancellationToken);
abstract member GetRegistrationsByTagAsync : string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetRegistrationsByTagAsync (tag As String, top As Integer, cancellationToken As CancellationToken) As Task(Of CollectionQueryResult(Of RegistrationDescription))

Parameters

tag
String

The tag.

top
Int32

The location where to get the registrations.

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

GetRegistrationsByTagAsync(String, String, Int32)

Asynchronously gets the registrations by tag.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetRegistrationsByTagAsync (string tag, string continuationToken, int top);
abstract member GetRegistrationsByTagAsync : string * string * int -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetRegistrationsByTagAsync (tag As String, continuationToken As String, top As Integer) As Task(Of CollectionQueryResult(Of RegistrationDescription))

Parameters

tag
String

The tag.

continuationToken
String

The continuation token.

top
Int32

The location where to get the registrations.

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.

Exceptions

Thrown when tag object is null

Applies to

GetRegistrationsByTagAsync(String, String, Int32, CancellationToken)

Asynchronously gets the registrations by tag.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>> GetRegistrationsByTagAsync (string tag, string continuationToken, int top, System.Threading.CancellationToken cancellationToken);
abstract member GetRegistrationsByTagAsync : string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.CollectionQueryResult<Microsoft.Azure.NotificationHubs.RegistrationDescription>>
Public Function GetRegistrationsByTagAsync (tag As String, continuationToken As String, top As Integer, cancellationToken As CancellationToken) As Task(Of CollectionQueryResult(Of RegistrationDescription))

Parameters

tag
String

The tag.

continuationToken
String

The continuation token.

top
Int32

The location where to get the registrations.

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.

Exceptions

Thrown when tag object is null

Applies to