Partager via


Constructeur WrongPropertyValueException (String)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String _
)
'Utilisation
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
)

Paramètres

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