EmailMessage.Dispose Method
The Dispose method releases all resources used by the EmailMessage.
Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Sub Dispose
'Usage
Dim instance As EmailMessage
instance.Dispose()
public void Dispose()