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
- 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
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace