IGmailClientAsync.GetSettingAsync

IGmailClientAsync.GetSettingAsync method

Asynchronously retrieves a specific setting by name.

public Task<string> GetSettingAsync(string setting, CancellationToken cancellationToken = default)
ParameterTypeDescription
settingStringThe name of the setting.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the setting value.

See Also