Releases the unmanaged resources used by the T:Microsoft.IdentityModel.Claims.WindowsClaimsPrincipal and optionally releases the managed resources.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim disposing As Boolean

Me.Dispose(disposing)

Syntax

Visual Basic
Protected Overridable Sub Dispose ( _
		disposing As Boolean _
)
C#
protected virtual void Dispose (
		bool disposing
)
C++
protected:
virtual void Dispose (
		bool disposing
)
J#
protected void Dispose (
		boolean disposing
)
JScript
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 Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also