共用方式為


DtsNotAForEachEnumException 類別

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 type ForEachEnumerator.

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

語法

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

備註

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

繼承階層

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

執行緒安全性

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