ObjectValidationException Constructor (String, String, Exception)
Initializes a new instance of the ObjectValidationException class that has the specified object name, object type and inner exception.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Public Sub New ( _
objectType As String, _
objectName As String, _
innerException As Exception _
)
'Uso
Dim objectType As String
Dim objectName As String
Dim innerException As Exception
Dim instance As New ObjectValidationException(objectType, _
objectName, innerException)
public ObjectValidationException(
string objectType,
string objectName,
Exception innerException
)
public:
ObjectValidationException(
String^ objectType,
String^ objectName,
Exception^ innerException
)
new :
objectType:string *
objectName:string *
innerException:Exception -> ObjectValidationException
public function ObjectValidationException(
objectType : String,
objectName : String,
innerException : Exception
)
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.
An Exception object that contains the inner exception. This is used when one exception causes another exception to be raised.
- innerException
Tipo: System. . :: . .Exception
Notas
Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.