ObjectValidationException 构造函数 (String)

Initializes a new instance of the ObjectValidationException class that has the specified message text.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Sub New ( _
    message As String _
)
用法
Dim message As String

Dim instance As New ObjectValidationException(message)
public ObjectValidationException(
    string message
)
public:
ObjectValidationException(
    String^ message
)
new : 
        message:string -> ObjectValidationException
public function ObjectValidationException(
    message : String
)

参数

  • message
    类型:System. . :: . .String
    A String value that specifies the message text that describes the event that caused the exception.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。