Partager via


TnefWriter.Dispose Method

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

Namespace: Microsoft.Exchange.Data.ContentTypes.Tnef
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
protected virtual void Dispose (
    bool disposing
)
protected:
virtual void Dispose (
    bool disposing
)
protected void Dispose (
    boolean disposing
)
protected function Dispose (
    disposing : boolean
)

Parameters

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003