ConnectionException Sınıfı
ConnectionException Sınıftır örnek bağlantı bir hata oluştuğunda oluşturuldu bir özel durum SQL Server.
Devralma Hiyerarşisi
System.Object
System.Exception
System.SystemException
Microsoft.SqlServer.Management.Common.ConnectionException
Diğer...
Ad Alanı: Microsoft.SqlServer.Management.Common
Derleme: Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo içinde.dll)
Sözdizimi
'Bildirim
<SerializableAttribute> _
Public Class ConnectionException _
Inherits SystemException
'Kullanım
Dim instance As ConnectionException
[SerializableAttribute]
public class ConnectionException : SystemException
[SerializableAttribute]
public ref class ConnectionException : public SystemException
[<SerializableAttribute>]
type ConnectionException =
class
inherit SystemException
end
public class ConnectionException extends SystemException
ConnectionException türü aşağıdaki üyeleri açıklar.
Oluşturucular
Ad | Açıklama | |
---|---|---|
ConnectionException() | Yeni bir başlatır örnek , ConnectionException WalkTree | |
ConnectionException(String) | Yeni bir başlatır örnek , ConnectionException sınıfı ile belirtilen ileti metni. | |
ConnectionException(SerializationInfo, StreamingContext) | Yeni bir başlatır örnek , ConnectionException sınıfı ile belirtilen seri hale getirme ve bilgi akış içeriği. | |
ConnectionException(String, Exception) | Yeni bir başlatır örnek , ConnectionException sınıfı için belirtilen ileti metni ve iç özel durum. |
Üst
Özellikler
Ad | Açıklama | |
---|---|---|
Data | (Exception öğesinden devralınmıştır.) | |
HelpLink | (Exception öğesinden devralınmıştır.) | |
HResult | (Exception öğesinden devralınmıştır.) | |
InnerException | (Exception öğesinden devralınmıştır.) | |
Message | (Exception öğesinden devralınmıştır.) | |
Source | (Exception öğesinden devralınmıştır.) | |
StackTrace | (Exception öğesinden devralınmıştır.) | |
TargetSite | (Exception öğesinden devralınmıştır.) |
Üst
Yöntemler
Ad | Açıklama | |
---|---|---|
Equals | (Object öğesinden devralınmıştır.) | |
Finalize | (Object öğesinden devralınmıştır.) | |
GetBaseException | (Exception öğesinden devralınmıştır.) | |
GetHashCode | (Object öğesinden devralınmıştır.) | |
GetObjectData | (Exception öğesinden devralınmıştır.) | |
GetType | (Exception öğesinden devralınmıştır.) | |
MemberwiseClone | (Object öğesinden devralınmıştır.) | |
ToString | (Exception öğesinden devralınmıştır.) |
Üst
Açıklamalar
İş Parçacığı Güvenliği
Bu türdeki tüm ortak statik (Microsoft Visual Basic içinde Paylaşılan) üyeler, çok iş parçacıklı işlemler için güvenlidir. Herhangi bir örnek üyenin iş parçacığı için güvenli olduğu garanti edilmemiştir.
İş Parçacığı Güvenliği
Bu türdeki tüm ortak static (Visual Basic'te Shared) üyeler iş parçacığı için güvenlidir. Herhangi bir örnek üyenin iş parçacığı için güvenli olduğu garanti edilmemiştir.
Devralma Hiyerarşisi
System.Object
System.Exception
System.SystemException
Microsoft.SqlServer.Management.Common.ConnectionException
Microsoft.SqlServer.Management.Common.ChangePasswordFailureException
Microsoft.SqlServer.Management.Common.ConnectionCannotBeChangedException
Microsoft.SqlServer.Management.Common.ConnectionFailureException
Microsoft.SqlServer.Management.Common.DisconnectedConnectionException
Microsoft.SqlServer.Management.Common.ExecutionFailureException
Microsoft.SqlServer.Management.Common.InvalidArgumentException
Microsoft.SqlServer.Management.Common.InvalidPropertyValueException
Microsoft.SqlServer.Management.Common.NotInTransactionException
Microsoft.SqlServer.Management.Common.PropertyNotAvailableException
Microsoft.SqlServer.Management.Common.PropertyNotSetException