MailServiceDispose(Boolean) Method

Releases the unmanaged resources used by the MailService and optionally releases the managed resources.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected virtual void Dispose(
	bool disposing
)

Parameters

disposing  Boolean
to release both managed and unmanaged resources; to release only the unmanaged resources.

Remarks

Releases the unmanaged resources used by the MailService and optionally releases the managed resources.

See Also