Share via


DtsNotAForEachEnumException Class

Definition

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.

C#
[System.Serializable]
public sealed class DtsNotAForEachEnumException : Microsoft.SqlServer.Dts.Runtime.DtsException
Inheritance
DtsNotAForEachEnumException
Attributes

Remarks

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

Properties

ErrorCode

Gets the error code that creates the appropriate exception class. This field is read-only.

(Inherited from DtsException)

Applies to

Product Versions
SQL Server .NET SDK 2016, 2017, 2019