TargetException 类

此类包含用于初始化 TargetException 对象的构造函数。

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

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

用法

Visual Basic

Dim instance As TargetException

语法

Visual Basic

<SerializableAttribute> _

Public Class TargetException

          Inherits ProjectManagerException

C#

[SerializableAttribute]

public class TargetException: ProjectManagerException

继承等级结构

System.Object

System.Exception

Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException

Microsoft.Windows.Kits.Hardware.ObjectModel.TargetException

线程安全

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