NotificationHubClient.GetRegistrationsByTagAsync
Method
Definition
Overloads
| GetRegistrationsByTagAsync(String, Int32) |
Asynchronously gets the registrations by tag. |
| GetRegistrationsByTagAsync(String, String, Int32) |
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);
Parameters
- tag
- String
The tag.
- top
- Int32
The location where to get the registrations.
Returns
The task that completes the asynchronous operation.
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);
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.
Exceptions
Thrown when tag object is null