通过


MachineException 构造函数(字符串)

此构造函数初始化 MachineException 类的新实例。

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

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

用法

Visual Basic

Dim message As String

Dim instance As New MachineException(message)

语法

Visual Basic

Public Sub New ( _

          message As String _

)

C#

protected MachineException (

          string message

)

参数

message

异常消息(字符串)。