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