Aracılığıyla paylaş


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
Ortak yöntem ConnectionException() Yeni bir başlatır örnek , ConnectionException WalkTree
Ortak yöntem ConnectionException(String) Yeni bir başlatır örnek , ConnectionException sınıfı ile belirtilen ileti metni.
Korumalı yöntem ConnectionException(SerializationInfo, StreamingContext) Yeni bir başlatır örnek , ConnectionException sınıfı ile belirtilen seri hale getirme ve bilgi akış içeriği.
Ortak yöntem 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
Ortak özellik Data (Exception öğesinden devralınmıştır.)
Ortak özellik HelpLink (Exception öğesinden devralınmıştır.)
Korumalı özellik HResult (Exception öğesinden devralınmıştır.)
Ortak özellik InnerException (Exception öğesinden devralınmıştır.)
Ortak özellik Message (Exception öğesinden devralınmıştır.)
Ortak özellik Source (Exception öğesinden devralınmıştır.)
Ortak özellik StackTrace (Exception öğesinden devralınmıştır.)
Ortak özellik TargetSite (Exception öğesinden devralınmıştır.)

Üst

Yöntemler

  Ad Açıklama
Ortak yöntem Equals (Object öğesinden devralınmıştır.)
Korumalı yöntem Finalize (Object öğesinden devralınmıştır.)
Ortak yöntem GetBaseException (Exception öğesinden devralınmıştır.)
Ortak yöntem GetHashCode (Object öğesinden devralınmıştır.)
Ortak yöntem GetObjectData (Exception öğesinden devralınmıştır.)
Ortak yöntem GetType (Exception öğesinden devralınmıştır.)
Korumalı yöntem MemberwiseClone (Object öğesinden devralınmıştır.)
Ortak yöntem 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