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 | |
---|---|---|
DisconnectedConnectionException() () () () | Initializes a new instance of the DisconnectedConnectionException class. | |
DisconnectedConnectionException(String) | Initializes a new instance of the DisconnectedConnectionException class with the specified message text. | |
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 | |
---|---|---|
Data | (Geerbt von Exception.) | |
HelpLink | (Geerbt von Exception.) | |
HResult | (Geerbt von Exception.) | |
InnerException | (Geerbt von Exception.) | |
Message | (Geerbt von Exception.) | |
Source | (Geerbt von Exception.) | |
StackTrace | (Geerbt von Exception.) | |
TargetSite | (Geerbt von Exception.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetBaseException | (Geerbt von Exception.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectData | (Geerbt von Exception.) | |
GetType | (Geerbt von Exception.) | |
MemberwiseClone | (Geerbt von Object.) | |
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.