NotificationHubClient.GetRegistrationsByChannelAsync Method

Definition

Overloads

GetRegistrationsByChannelAsync(String, Int32)

Asynchronously gets the registrations by channel.

GetRegistrationsByChannelAsync(String, String, Int32)

Asynchronously gets the registrations by channel.

GetRegistrationsByChannelAsync(String, Int32)

Asynchronously gets the registrations by channel.

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

Parameters

pnsHandle
String

The PNS handle.

top
Int32

The location of the registration.

Returns

The task that completes the asynchronous operation.

GetRegistrationsByChannelAsync(String, String, Int32)

Asynchronously gets the registrations by channel.

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

Parameters

pnsHandle
String

The PNS handle.

continuationToken
String

The continuation token.

top
Int32

The location of the registration.

Returns

The task that completes the asynchronous operation.

Exceptions

Applies to