Share via


CimException.Dispose Method (Boolean)

 

Releases resources that are associated with this object.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
abstract Dispose : 
        disposing:bool -> unit
override Dispose : 
        disposing:bool -> unit
Protected Overridable Sub Dispose (
    disposing As Boolean
)

Parameters

  • disposing
    Type: System.Boolean

    A Boolean value that indicates that a dispose operation has been initiated.

Remarks

This method exists so that derived classes can add disposal logic. Client code should use the public version of Dispose, which has no parameters.

See Also

Dispose Overload
CimException Class
Microsoft.Management.Infrastructure Namespace

Return to top