Partager via


ControlRendererPageContent.Dispose Method (Boolean)

 

Releases the unmanaged resources used by the ControlRendererPageContent object and optionally releases the managed resources.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
Protected Overridable Sub Dispose (
    disposing As Boolean
)

Parameters

  • disposing
    Type: System.Boolean

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

This method is called by the public Dispose method and the Finalize method. Dispose invokes this method with disposing set to true. Finalize invokes this method with disposing set to false.

When disposing is true, this method releases all resources held by any managed objects that are referenced by the ControlRendererPageContent object. This method invokes the Dispose method of each referenced object.

See Also

Dispose Overload
ControlRendererPageContent Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top