DataIntegrityException 构造函数 (String)

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

命名空间: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 DataIntegrityException(message)

语法

Visual Basic

Public Sub New ( _

          message As String _

)

C#

public DataIntegrityException (

          string message

)