Delen via


ProjectClosedEventArgs.CaughtException Property

Gets or sets the exception that occurred if the project is being closed because of an exception.

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

Syntax

'Declaration
Public Property CaughtException As Exception
public Exception CaughtException { get; private set; }
public:
property Exception^ CaughtException {
    Exception^ get ();
    private: void set (Exception^ value);
}
member CaughtException : Exception with get, private set
function get CaughtException () : Exception
private function set CaughtException (value : Exception)

Property Value

Type: System.Exception

Remarks

This property is null if the project is closed normally.

.NET Framework Security

See Also

Reference

ProjectClosedEventArgs Class

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