Null Protocol LoggerDispose Method
Releases all resource used by the NullProtocolLogger object.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public void Dispose()Implements
IDisposableDisposeRemarks
Call Dispose when you are finished using the NullProtocolLogger. The
Dispose method leaves the NullProtocolLogger in an unusable state. After
calling Dispose, you must release all references to the NullProtocolLogger so
the garbage collector can reclaim the memory that the NullProtocolLogger was occupying.