ProductInstanceException 类

此异常类定义为处理目标特定的错误。 每当发生意外情况时,都会引发 ProductInstanceException,以便添加目标相关的更多详细信息。

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

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

用法

Visual Basic

Dim instance As ProductInstanceException

语法

Visual Basic

<SerializableAttribute> _

Public Class ProductInstanceException

          Inherits ProjectManagerException

C#

[SerializableAttribute]

public class ProductInstanceException : ProjectManagerException

继承等级结构

System.Object

System.Exception

Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException

Microsoft.Windows.Kits.Hardware.ObjectModel.ProductInstanceException

线程安全

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