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

Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
Protected Overridable Sub Dispose ( _
	disposing As Boolean _
)
C#
protected virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System..::..Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also