Aracılığıyla paylaş


DtsException Sınıfı

Hata kodu döndürdü, bağlı oluşan özel durum türü için belirli bir sınıfı oluşturur, genel özel durum sınıfı tanımlar.

Devralma Hiyerarşisi

System.Object
  System.Exception
    Microsoft.SqlServer.Dts.Runtime.DtsException
      Diğer...

Ad Alanı:  Microsoft.SqlServer.Dts.Runtime
Derleme:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS içinde.dll)

Sözdizimi

'Bildirim
<SerializableAttribute> _
Public Class DtsException _
    Inherits Exception
'Kullanım
Dim instance As DtsException
[SerializableAttribute]
public class DtsException : Exception
[SerializableAttribute]
public ref class DtsException : public Exception
[<SerializableAttribute>]
type DtsException =  
    class
        inherit Exception
    end
public class DtsException extends Exception

DtsException türü aşağıdaki üyeleri açıklar.

Özellikler

  Ad Açıklama
Ortak özellik Data (Exception öğesinden devralınmıştır.)
Ortak özellik ErrorCode Uygun özel durum sınıfı oluşturur hata kodu alır.Bu alan salt okunur durumdadı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

Hata kodu, türetilmeli sınıflarından bağlı DtsException oluşturulur.Döndürülen hata kodu, 0x8, ise DtsScriptingException sınıfı oluşturuldu.Bu sayede, karşı genel kodlama yerine döndürülen istisna sınıfları farklı türleri için kod yazmak DtsException.Oluşturulan sınıfları listesi için bkz: link, Türetilmiş sınıfları altında.

İş 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
    Microsoft.SqlServer.Dts.Runtime.DtsException
      Microsoft.SqlServer.Dts.Runtime.DtsComException
      Microsoft.SqlServer.Dts.Runtime.DtsComponentException
      Microsoft.SqlServer.Dts.Runtime.DtsConnectionException
      Microsoft.SqlServer.Dts.Runtime.DtsCouldNotCreateManagedConnectionException
      Microsoft.SqlServer.Dts.Runtime.DtsCouldNotCreateManagedForEachEnumeratorException
      Microsoft.SqlServer.Dts.Runtime.DtsExponentTooLargeException
      Microsoft.SqlServer.Dts.Runtime.DtsGenericException
      Microsoft.SqlServer.Dts.Runtime.DtsInvalidBreakpointSiteException
      Microsoft.SqlServer.Dts.Runtime.DtsNoConnectionAssignedException
      Microsoft.SqlServer.Dts.Runtime.DtsNoForEachEnumAssignedException
      Microsoft.SqlServer.Dts.Runtime.DtsNoLogProviderAssignedException
      Microsoft.SqlServer.Dts.Runtime.DtsNoObjectAssignedException
      Microsoft.SqlServer.Dts.Runtime.DtsNotAConnectionException
      Microsoft.SqlServer.Dts.Runtime.DtsNotAForEachEnumException
      Microsoft.SqlServer.Dts.Runtime.DtsNotALogProviderException
      Microsoft.SqlServer.Dts.Runtime.DtsNotAManagedEnumeratorException
      Microsoft.SqlServer.Dts.Runtime.DtsNoTaskAssignedException
      Microsoft.SqlServer.Dts.Runtime.DtsNotATaskException
      Microsoft.SqlServer.Dts.Runtime.DtsPipelineException
      Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException
      Microsoft.SqlServer.Dts.Runtime.DtsScriptingException
      Microsoft.SqlServer.Dts.Runtime.DtsSqlException
      Microsoft.SqlServer.Dts.Runtime.DtsTaskException
      Microsoft.SqlServer.Dts.Runtime.DtsToolsException