DtsNotAForEachEnumException 類別

定義

當原生物件所使用的 Managed 包裝函數不是 ForEachEnumerator 型別時擲回的例外狀況,指定發生內部錯誤。

public ref class DtsNotAForEachEnumException sealed : Microsoft::SqlServer::Dts::Runtime::DtsException
[System.Serializable]
public sealed class DtsNotAForEachEnumException : Microsoft.SqlServer.Dts.Runtime.DtsException
[<System.Serializable>]
type DtsNotAForEachEnumException = class
    inherit DtsException
Public NotInheritable Class DtsNotAForEachEnumException
Inherits DtsException
繼承
DtsNotAForEachEnumException
屬性

備註

此錯誤在區塊中無法使用 try...catch

屬性

ErrorCode

取得錯誤碼,該錯誤碼會建立適當的例外狀況類別。 此欄位為唯讀。

(繼承來源 DtsException)

適用於