Freigeben über


ObjectValidationException-Konstruktor (String, String)

Initializes a new instance of the ObjectValidationException class that has the specified object name and type.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Sub New ( _
    objectType As String, _
    objectName As String _
)
'Usage
Dim objectType As String
Dim objectName As String

Dim instance As New ObjectValidationException(objectType, _
    objectName)
public ObjectValidationException(
    string objectType,
    string objectName
)
public:
ObjectValidationException(
    String^ objectType, 
    String^ objectName
)
new : 
        objectType:string * 
        objectName:string -> ObjectValidationException
public function ObjectValidationException(
    objectType : String, 
    objectName : String
)

Parameter

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.