Construtor ObjectValidationException (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 (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public Sub New ( _
objectType As String, _
objectName As String _
)
'Uso
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
)
Parâmetros
- objectType
Tipo: System.String
A String value that specifies the type of object that encountered an error during validation.
- objectName
Tipo: System.String
A String value that specifies the name of the object that encountered an error during validation.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Exemplos
Consulte também
Referência
ObjectValidationException Classe