MailServiceDisposeAsyncCore Method

Asynchronously releases the managed resources used by the MailService.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected virtual ValueTask DisposeAsyncCore()

Return Value

ValueTask
A task that represents the asynchronous dispose operation.

Remarks

Asynchronously releases the managed resources used by the MailService.

Subclasses that need to release resources asynchronously should override this method. The default implementation calls Dispose(Boolean) with a value of .

See Also