IGmailClientAsync.CreateFilterAsync

IGmailClientAsync.CreateFilterAsync method

Asynchronously creates a Gmail filter.

public Task<string> CreateFilterAsync(Filter filter, CancellationToken cancellationToken = default)
ParameterTypeDescription
filterFilterThe filter to create.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the filter ID.

See Also