PowerTCP Mail for .NET
Dispose Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MessageStream Class : Dispose Method




Releases all resources associated with the object.

Syntax

Visual Basic (Declaration) 
Public Shadows Sub Dispose() 
Visual Basic (Usage)Copy Code
Dim instance As MessageStream
 
instance.Dispose()
C# 
public new void Dispose()
Managed Extensions for C++ 
public: new void Dispose(); 
C++/CLI 
public:
new void Dispose(); 

Remarks

The Object.Dispose method abruptly aborts the connection and releases all resources.

Object.Dispose should ONLY be used to release all resources used by the object, and the object should not be used subsequently. If an abort is desired, then Object.Close or Object.Connection.Close if available should be used to terminate activity and reset the object. The Object cannot be used once Object.Dispose or Object.Dispose(true) are called.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.