VsaException 类

定义

注意

Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

此类型支持.NET框架基础结构,不应直接从代码使用。

public ref class VsaException : System::Runtime::InteropServices::ExternalException
[System.Serializable]
public class VsaException : System.Runtime.InteropServices.ExternalException
[System.Serializable]
[System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[System.Runtime.InteropServices.Guid("5f44bb1a-465a-37db-8e84-acc733bf7541")]
public class VsaException : System.Runtime.InteropServices.ExternalException
[<System.Serializable>]
type VsaException = class
    inherit ExternalException
[<System.Serializable>]
[<System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
[<System.Runtime.InteropServices.Guid("5f44bb1a-465a-37db-8e84-acc733bf7541")>]
type VsaException = class
    inherit ExternalException
Public Class VsaException
Inherits ExternalException
继承
属性

构造函数

名称 说明
VsaException()
已过时.

此成员支持 .NET Framework 基础结构,不应直接从代码使用。

VsaException(SerializationInfo, StreamingContext)

此 API 支持产品基础结构,不能在代码中直接使用。

已过时.

使用指定的序列化信息和流式处理上下文初始化类的新实例 VsaException

VsaException(String, Exception)

此 API 支持产品基础结构,不能在代码中直接使用。

已过时.

使用指定的错误消息和对内部异常的引用初始化类的新实例 VsaException

VsaException(String)

此 API 支持产品基础结构,不能在代码中直接使用。

已过时.

使用指定的错误消息初始化类的新实例 VsaException

VsaException(VsaError, String, Exception)

此 API 支持产品基础结构,不能在代码中直接使用。

已过时.

使用指定的错误类型、错误消息和对内部异常的引用初始化类的新实例 VsaException

VsaException(VsaError, String)

此 API 支持产品基础结构,不能在代码中直接使用。

已过时.

使用指定的错误和其他消息初始化类的新实例 VsaException

VsaException(VsaError)

此 API 支持产品基础结构,不能在代码中直接使用。

已过时.

用指定的错误初始化类的新实例 VsaException

属性

名称 说明
Data
已过时.

获取键/值对的集合,这些键/值对提供有关异常的其他用户定义的信息。

(继承自 Exception)
ErrorCode
已过时.

此成员支持 .NET Framework 基础结构,不应直接从代码使用。

HelpLink
已过时.

获取或设置与此异常关联的帮助文件的链接。

(继承自 Exception)
HResult
已过时.

获取或设置 HRESULT,它是分配给特定异常的编码数值。

(继承自 Exception)
InnerException
已过时.

Exception获取导致当前异常的实例。

(继承自 Exception)
Message
已过时.

获取描述当前异常的消息。

(继承自 Exception)
Source
已过时.

获取或设置导致错误的应用程序或对象的名称。

(继承自 Exception)
StackTrace
已过时.

获取调用堆栈上即时帧的字符串表示形式。

(继承自 Exception)
TargetSite
已过时.

获取引发当前异常的方法。

(继承自 Exception)

方法

名称 说明
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetBaseException()
已过时.

在派生类中重写时,返回 Exception 一个或多个后续异常的根本原因。

(继承自 Exception)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetObjectData(SerializationInfo, StreamingContext)

此 API 支持产品基础结构,不能在代码中直接使用。

已过时.

设置 SerializationInfo 有关异常的信息。

GetType()
已过时.

获取当前实例的运行时类型。

(继承自 Exception)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
ToString()
已过时.

此成员支持 .NET Framework 基础结构,不应直接从代码使用。

适用于