IGmailClientAsync.GetFilterAsync
IGmailClientAsync.GetFilterAsync method
Asynchronously retrieves a Gmail filter by its ID.
public Task<Filter> GetFilterAsync(string id, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| id | String | The filter ID. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains the Filter.
See Also
- class Filter
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email