Classe PropertyNotAvailableException

The exception that is raised when an unavailable property is requested on the connection to the server.

Hiérarchie d'héritage

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

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

Syntaxe

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

Le type PropertyNotAvailableException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique PropertyNotAvailableException() () () () Initializes a new instance of the PropertyNotAvailableException class.
Méthode publique PropertyNotAvailableException(String) Initializes a new instance of the PropertyNotAvailableException class with the specified message text.
Méthode publique PropertyNotAvailableException(String, Exception) Initializes a new instance of the PropertyNotAvailableException 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.