[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim disposing As Boolean

Me.Dispose(disposing)

Syntax

Visual Basic
Protected Overrides Sub Dispose ( _
		disposing As Boolean _
)
C#
protected override void Dispose (
		bool disposing
)
C++
protected:
virtual void Dispose (
		bool disposing
) override
J#
protected void Dispose (
		boolean disposing
)
JScript
protected override function Dispose (
		disposing : boolean
)

Parameters

disposing

Indicates how the method was called.

Remarks

This method executes in two distinct scenarios. If the value of disposing is true, the method has been called directly or indirectly by the user code. Managed and unmanaged resources can be disposed. If the value of disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.


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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also