ProjectClosedEventArgs.CaughtException 属性

获取或设置当项目因异常而关闭时发生的异常。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
Public Property CaughtException As Exception
    Get
    Private Set
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)

属性值

类型:System.Exception

备注

如果以正常方式关闭项目,则此属性为 null。

.NET Framework 安全性

请参见

参考

ProjectClosedEventArgs 类

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空间