Compartir a través de


WrongPropertyValueException Constructor (String)

Initializes a new instance of the WrongPropertyValueException class with the specified message.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    message As String _
)
'Uso
Dim message As String 

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

Parámetros

  • message
    Tipo: System.String
    A String value that specifies the message text that is associated with the wrong property value exception.

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

WrongPropertyValueException Clase

Sobrecarga de WrongPropertyValueException

Espacio de nombres Microsoft.SqlServer.Management.Smo