IDTSBuffer100.SetErrorInfo(Int32, Int32, Int32, Int32) メソッド

定義

行のエラー情報を設定します。

public:
 void SetErrorInfo(int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
public void SetErrorInfo (int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
abstract member SetErrorInfo : int * int * int * int -> unit
Public Sub SetErrorInfo (hRow As Integer, lOutputID As Integer, lErrorCode As Integer, lErrorColumn As Integer)

パラメーター

hRow
Int32

行ハンドルです。

lOutputID
Int32

行の送信先の IDTSOutput100 エラーの ID です。

lErrorCode
Int32

列の処理中に発生したコンポーネント定義のエラー コードです。

lErrorColumn
Int32

エラーの原因となる列の系列 ID です。

注釈

このメソッドは、非同期のエラー出力に送信される行のエラー情報を提供するために使用されます。 同期出力のエラー行を出力指定する場合、DirectErrorRow メソッドが使用され、エラー コードとエラー列情報がメソッドのパラメーターとして含まれます。

コンポーネントで定義されているエラー コードは、0 より大きい値である必要があります。

lOutputID パラメーターで指定した IDTSOutput100 オブジェクトがエラー出力でない場合、DTS_E_DIRECTTONONERROROUTPUT 例外が発生します。

適用対象