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);
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);
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
pnsHandle