Click or drag to resize

Pop3CloseAsync(Boolean, CancellationToken) Method

Sends QUIT command. Disconnects and releases all resources acquired by this object.

Namespace: Limilabs.Client.POP3
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task CloseAsync(
	bool throwException,
	CancellationToken cancel = default
)

Parameters

throwException  Boolean
If true throws Pop3ResponseException on error response to QUIT command.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

Task
A task that represents the asynchronous close operation.
See Also