WindowsTaskCredentials.Dispose Method

Updated: April 16, 2012

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)Dim disposing As Boolean Me.Dispose(disposing)Protected Overrides Sub Dispose ( _ disposing As Boolean _ )protected override void Dispose ( bool disposing )protected: virtual void Dispose ( bool disposing ) overrideprotected void Dispose ( boolean disposing )protected override function Dispose ( disposing : boolean )Parametersdisposingtrue to release both managed and unmanaged resources; false to release only unmanaged resources.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms