InternalTestFailureException 构造函数

在不使用参数的情况下初始化 InternalTestFailureException 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.UnitTesting
程序集:  Microsoft.VisualStudio.QualityTools.UnitTestFramework(在 Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll 中)

语法

声明
Public Sub New
public InternalTestFailureException()
public:
InternalTestFailureException()
new : unit -> InternalTestFailureException
public function InternalTestFailureException()

备注

此构造函数将新实例的消息属性初始化为系统生成的消息,该消息描述错误并考虑当前系统区域性。

下表显示 InternalTestFailureException 实例的初始属性值。

Property

内部异常

nullnull 引用(在 Visual Basic 中为 Nothing).

消息

系统提供的本地化说明。

.NET Framework 安全性

请参见

参考

InternalTestFailureException 类

InternalTestFailureException 重载

Microsoft.VisualStudio.TestTools.UnitTesting 命名空间