Share via


WindowsTaskCredentials.Dispose Method

[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. Clears the stored password.

Namespace: Microsoft.EnterpriseManagement.Runtime
Assembly: Microsoft.EnterpriseManagement.Runtime (in Microsoft.EnterpriseManagement.Runtime.dll)

Usage

'Usage
Dim disposing As Boolean

Me.Dispose(disposing)

Syntax

'Declaration
Protected Overrides Sub Dispose ( _
    disposing As Boolean _
)
protected override void Dispose (
    bool disposing
)
protected:
virtual void Dispose (
    bool disposing
) override
protected void Dispose (
    boolean disposing
)
protected override 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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

WindowsTaskCredentials Class
WindowsTaskCredentials Members
Microsoft.EnterpriseManagement.Runtime Namespace