PowerTCP Mail for .NET
Dispose(Boolean) Method




true to release both managed and unmanaged resources; false to release only unmanaged resources.
Releases all resources associated with the object.
Syntax
Protected Overloads Overrides Sub Dispose( _
   ByVal disposing As Boolean _
) 
Dim instance As Pop
Dim disposing As Boolean
 
instance.Dispose(disposing)
protected override void Dispose( 
   bool disposing
)
protected: void Dispose( 
   bool disposing
) override 
protected:
void Dispose( 
   bool disposing
) override 

Parameters

disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Remarks

This method abruptly aborts the connection, releases all resources, and deletes any unmoved decoded attachments and Attachment.Directory.

Dispose should ONLY be used to release all resources used by the object, and the object should not be subsequently used. To gracefully disconnect from the server, use Close before calling this method. The Object cannot be used once Dispose is called.

See Also

Reference

Pop Class
Pop Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic