Export (0) Print
Expand All

WorkflowView.Dispose Method (Boolean)

Releases the unmanaged resources used by the WorkflowView and optionally releases the managed resources.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

abstract Dispose : 
        disposing:bool -> unit  
override Dispose : 
        disposing:bool -> unit

Parameters

disposing
Type: System.Boolean

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

When the disposing parameter is true, this method releases all resources held by any managed objects that this WorkflowView references. This method invokes the Dispose() method of each referenced object.

For more information about Dispose and Finalize, see Cleaning Up Unmanaged Resources and Overriding the Finalize Method.

Notes to Inheritors

Dispose can be called multiple times by other objects. When overriding Dispose(Boolean), be careful not to reference objects that have been previously disposed of in an earlier call to Dispose. For more information about how to implement Dispose(Boolean), see Implementing a Dispose Method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft