TestException 类

此类包含初始化各种测试异常的构造函数。 定义此异常类是为了表示与认证测试相关的异常。

命名空间: Microsoft.Windows.Kits.Hardware.ObjectModel

程序集:Microsoft.Windows.Kits.Hardware.ObjectModel(在 Microsoft.Windows.Kits.Hardware.ObjectModel 中)

用法

Visual Basic

Dim instance As TestException

语法

Visual Basic

<SerializableAttribute> _

Public Class TestException

          Inherits ProjectManagerException

C#

[SerializableAttribute]

public class TestException : ProjectManagerException

继承等级结构

System.Object

Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException

Microsoft.Windows.Kits.Hardware.ObjectModel.TestException

线程安全

此类型的所有公共静态(在 Visual Basic 中为Shared)成员都是线程安全的。 但不保证所有实例成员都是线程安全的。