IGmailClientAsync.GetFilterAsync

IGmailClientAsync.GetFilterAsync method

Asynchronously retrieves a Gmail filter by its ID.

public Task<Filter> GetFilterAsync(string id, CancellationToken cancellationToken = default)
ParameterTypeDescription
idStringThe filter ID.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the Filter.

See Also