SchemaModelViewerControllerBase.OnProjectClosed-Methode

Behandelt das Schließen des Projekts durch das Trennen von Ereignissen.

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
)

Parameter

  • caughtException
    Typ: System.Exception
    Wird verwendet, um anzugeben, dass das Projekt aufgrund einer Ausnahme geschlossen wird.Diese Eigenschaft ist NULL, wenn das Projekt ohne Fehler Weise geschlossen wird.
  • isAbnormalTermination
    Typ: System.Boolean
    Gibt true zurück, wenn das Projekt aufgrund eines anormalen Vorgangs, z. B. einer Ausnahme, geschlossen wird.
  • isDirty
    Typ: System.Boolean
    Gibt true zurück, wenn das Projekt geschlossen wird, während es noch geändert ist.

Hinweise

Bei der Standardimplementierung wird keine Aktion ausgeführt.

.NET Framework-Sicherheit

Siehe auch

Referenz

SchemaModelViewerControllerBase Klasse

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer-Namespace