共用方式為


DtsNoTaskAssignedException 類別

The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.

繼承階層

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Dts.Runtime. . :: . .DtsException
      Microsoft.SqlServer.Dts.Runtime..::..DtsNoTaskAssignedException

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class DtsNoTaskAssignedException _
    Inherits DtsException
'用途
Dim instance As DtsNoTaskAssignedException
[SerializableAttribute]
public sealed class DtsNoTaskAssignedException : DtsException
[SerializableAttribute]
public ref class DtsNoTaskAssignedException sealed : public DtsException
[<SealedAttribute>]
[<SerializableAttribute>]
type DtsNoTaskAssignedException =  
    class
        inherit DtsException
    end
public final class DtsNoTaskAssignedException extends DtsException

DtsNoTaskAssignedException 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Data (繼承自 Exception。)
公用屬性 ErrorCode Gets the error code that creates the appropriate exception class. This field is read-only. (繼承自 DtsException。)
公用屬性 HelpLink (繼承自 Exception。)
受保護的屬性 HResult (繼承自 Exception。)
公用屬性 InnerException (繼承自 Exception。)
公用屬性 Message (繼承自 Exception。)
公用屬性 Source (繼承自 Exception。)
公用屬性 StackTrace (繼承自 Exception。)
公用屬性 TargetSite (繼承自 Exception。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetBaseException (繼承自 Exception。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetObjectData (繼承自 Exception。)
公用方法 GetType (繼承自 Exception。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Exception。)

上層

備註

This error is not useable in a try...catch block.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。