SchemaModelViewerControllerBase.OnProjectClosed Method
Handles the close of the project by disconnecting from events.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Protected Overridable Sub OnProjectClosed ( _
caughtException As Exception, _
isAbnormalTermination As Boolean, _
isDirty As Boolean _
)
protected virtual void OnProjectClosed(
Exception caughtException,
bool isAbnormalTermination,
bool isDirty
)
protected:
virtual void OnProjectClosed(
Exception^ caughtException,
bool isAbnormalTermination,
bool isDirty
)
abstract OnProjectClosed :
caughtException:Exception *
isAbnormalTermination:bool *
isDirty:bool -> unit
override OnProjectClosed :
caughtException:Exception *
isAbnormalTermination:bool *
isDirty:bool -> unit
protected function OnProjectClosed(
caughtException : Exception,
isAbnormalTermination : boolean,
isDirty : boolean
)
Parameters
- caughtException
Type: System.Exception
Used to indicate that the project closes because of an exception. This property is null if the project is closed without error.
- isAbnormalTermination
Type: System.Boolean
Returns true if the project closes because of something abnormal, such as an exception.
- isDirty
Type: System.Boolean
Returns true if the project closes while it is still dirty.
Remarks
The default implementation does nothing.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaModelViewerControllerBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace