 | IPop3ClientSetLanguageAsync Method |
Asynchronously set the language used by the POP3 server for error messages.
Namespace: MailKit.Net.Pop3Assembly: MailKit (in MailKit.dll) Version: 4.10.0
SyntaxTask SetLanguageAsync(
string lang,
CancellationToken cancellationToken = default
)
Parameters
- lang String
- The language code.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Exceptions
Remarks
If the POP3 server supports the LANG extension, it is possible to
set the language used by the POP3 server for error messages.
See Also