Freigeben über


DisconnectedConnectionException-Klasse

The DisconnectedConnectionException class is an exception that is raised when a connection is closed.

Vererbungshierarchie

System.Object
  System.Exception
    System.SystemException
      Microsoft.SqlServer.Management.Common.ConnectionException
        Microsoft.SqlServer.Management.Common.DisconnectedConnectionException

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

Syntax

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

Der DisconnectedConnectionException-Typ macht folgende Elemente verfügbar.

Konstruktoren

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

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink (Geerbt von Exception.)
Öffentliche 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.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Sicherheitskritisch (Geerbt von Exception.)
Öffentliche Methode GetType (Geerbt von Exception.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Threadsicherheit

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

Siehe auch

Verweis

Microsoft.SqlServer.Management.Common-Namespace