次の方法で共有


DtsNotAForEachEnumException クラス

ForEachEnumerator 型ではないネイティブ オブジェクトでマネージ ラッパーが使用される場合に、内部エラーが発生したときにスローされる例外です。

継承階層

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

名前空間:  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

DtsNotAForEachEnumException 型は、以下のメンバーを公開しています。

プロパティ

  名前 説明
パブリック プロパティ Data (Exception から継承されています。)
パブリック プロパティ ErrorCode 適切な例外クラスを作成するエラー コードを取得します。このフィールドは読み取り専用です。 (DtsException から継承されています。)
パブリック プロパティ HelpLink (Exception から継承されています。)
パブリック プロパティ HResult (Exception から継承されています。)
パブリック プロパティ InnerException (Exception から継承されています。)
パブリック プロパティ Message (Exception から継承されています。)
パブリック プロパティ Source (Exception から継承されています。)
パブリック プロパティ StackTrace (Exception から継承されています。)
パブリック プロパティ TargetSite (Exception から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
パブリック メソッド GetBaseException (Exception から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetObjectData セキュリティ クリティカル。 (Exception から継承されています。)
パブリック メソッド GetType (Exception から継承されています。)
パブリック メソッド ToString (Exception から継承されています。)

先頭に戻る

説明

このエラーは try...catch ブロックでは使用できません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Dts.Runtime 名前空間