SchemaViewControllerBase.OnProjectClosed Method

Called when the project is closed.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Protected Overridable Sub OnProjectClosed ( _
    caughtException As Exception, _
    isAbnormalTermination As Boolean, _
    isDirty As Boolean _
)
'Usage
Dim caughtException As Exception
Dim isAbnormalTermination As Boolean
Dim isDirty As Boolean

Me.OnProjectClosed(caughtException, _
    isAbnormalTermination, isDirty)
protected virtual void OnProjectClosed(
    Exception caughtException,
    bool isAbnormalTermination,
    bool isDirty
)
protected:
virtual void OnProjectClosed(
    Exception^ caughtException, 
    bool isAbnormalTermination, 
    bool isDirty
)
protected function OnProjectClosed(
    caughtException : Exception, 
    isAbnormalTermination : boolean, 
    isDirty : boolean
)
abstract OnProjectClosed : 
        caughtException:Exception * 
        isAbnormalTermination:bool * 
        isDirty:bool -> unit 
override OnProjectClosed : 
        caughtException:Exception * 
        isAbnormalTermination:bool * 
        isDirty:bool -> unit 

Parameters

  • caughtException
    Type: System.Exception
    Indicates that the project is being closed as a result of an exception. This property will be null if the project is being closed normally.
  • isAbnormalTermination
    Type: System.Boolean
    Specifies whether the project is being closed as a result of something abnormal, such as an exception.
  • isDirty
    Type: System.Boolean
    Specifies whether the project is being closed while it is still dirty.

Remarks

This method does nothing by default.

.NET Framework Security

See Also

Reference

SchemaViewControllerBase Class

SchemaViewControllerBase Members

Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows Namespace