Classe InvalidPropertyValueException

The exception that is raised when a property is set to a value that is not valid on the referenced connection to the server.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .SystemException
      Microsoft.SqlServer.Management.Common. . :: . .ConnectionException
        Microsoft.SqlServer.Management.Common..::..InvalidPropertyValueException

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class InvalidPropertyValueException _
    Inherits ConnectionException
'Utilisation
Dim instance As InvalidPropertyValueException
[SerializableAttribute]
public sealed class InvalidPropertyValueException : ConnectionException
[SerializableAttribute]
public ref class InvalidPropertyValueException sealed : public ConnectionException
[<SealedAttribute>]
[<SerializableAttribute>]
type InvalidPropertyValueException =  
    class
        inherit ConnectionException
    end
public final class InvalidPropertyValueException extends ConnectionException

Le type InvalidPropertyValueException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique InvalidPropertyValueException() () () () Initializes a new instance of the InvalidPropertyValueException class.
Méthode publique InvalidPropertyValueException(String) Initializes a new instance of the InvalidPropertyValueException class with the specified message text.
Méthode publique InvalidPropertyValueException(String, Exception) Initializes a new instance of the InvalidPropertyValueException class with the specified message text and inner exception.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink (hérité de Exception.)
Propriété protégée HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Notes

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.