NotificationHubClient.GetRegistrationsByTagAsync Method

Definition

Overloads

GetRegistrationsByTagAsync(String, String, Int32)

Asynchronously gets the registrations by tag.

GetRegistrationsByTagAsync(String, Int32)

Asynchronously gets the registrations by tag.

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);
member this.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
System.String

The tag.

continuationToken
System.String

The continuation token.

top
System.Int32

The location where to get the registrations.

Returns

System.Threading.Tasks.Task<CollectionQueryResult<RegistrationDescription>>

The task that completes the asynchronous operation.

Exceptions

System.ArgumentNullException

Thrown when tag object is null

Applies to

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);
member this.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
System.String

The tag.

top
System.Int32

The location where to get the registrations.

Returns

System.Threading.Tasks.Task<CollectionQueryResult<RegistrationDescription>>

The task that completes the asynchronous operation.

Applies to