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

The PNS handle.

top
System.Int32

The location of the registration.

Returns

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

The task that completes the asynchronous operation.

Applies to

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

The PNS handle.

continuationToken
System.String

The continuation token.

top
System.Int32

The location of the registration.

Returns

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

The task that completes the asynchronous operation.

Exceptions

System.ArgumentNullException

pnsHandle

Applies to