Compartir a través de


PropertyTypeMismatchException Constructor (String, Exception)

Initializes a new instance of the PropertyTypeMismatchException class with the specified message and specified inner exception.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public PropertyTypeMismatchException (
    string message,
    Exception innerException
)
public:
PropertyTypeMismatchException (
    String^ message, 
    Exception^ innerException
)
public PropertyTypeMismatchException (
    String message, 
    Exception innerException
)
public function PropertyTypeMismatchException (
    message : String, 
    innerException : Exception
)

Parámetros

  • message
    A String value that specifies the message string for the property type mismatch exception.
  • innerException
    An Exception object that specifies the inner exception for the Property Type Mismatch exception.

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ejemplo

How to: Catch an Exception in Visual Basic .NET

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

PropertyTypeMismatchException Class
PropertyTypeMismatchException Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Handling SMO Exceptions