PropertyNotSetException-Klasse

The exception that is raised when a process requests a property that has not been set on the connection to the server.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class PropertyNotSetException _
    Inherits ConnectionException
'Usage
Dim instance As PropertyNotSetException
[SerializableAttribute]
public sealed class PropertyNotSetException : ConnectionException
[SerializableAttribute]
public ref class PropertyNotSetException sealed : public ConnectionException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyNotSetException =  
    class
        inherit ConnectionException
    end
public final class PropertyNotSetException extends ConnectionException

Der PropertyNotSetException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode PropertyNotSetException() () () () Initializes a new instance of the PropertyNotSetException class.
Öffentliche Methode PropertyNotSetException(String) Initializes a new instance of the PropertyNotSetException class with the specified message text.
Öffentliche Methode PropertyNotSetException(String, Exception) Initializes a new instance of the PropertyNotSetException class with the specified message text and inner exception.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink (Geerbt von Exception.)
Geschützte Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData (Geerbt von Exception.)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.