Partager via


Constructeur PropertyNotSetException (String)

Initialise une nouvelle instance de la classe PropertyNotSetException avec le texte de message spécifié.

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

Syntaxe

'Déclaration
Public Sub New ( _
    message As String _
)
'Utilisation
Dim message As String 

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

Paramètres

  • message
    Type : String
    Valeur String qui spécifie le texte du message décrivant l'événement qui a provoqué l'exception.

Voir aussi

Référence

PropertyNotSetException Classe

Surcharge PropertyNotSetException

Espace de noms Microsoft.SqlServer.Management.Common