Share via


ModelBusAdapter.Dispose Method (Boolean)

Dispose this ModelBusAdapter instance. The base class does nothing. Derived ModelBusAdapter implementations can choose to do additional work, including persist unsaved data, free up resources, etc.

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
abstract Dispose : 
        disposing:bool -> unit  
override Dispose : 
        disposing:bool -> unit
protected function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: Boolean

    True if called from IDisposable.Dispose(), false if from destructor.

.NET Framework Security

See Also

Reference

ModelBusAdapter Class

Dispose Overload

Microsoft.VisualStudio.Modeling.Integration Namespace