IDTSEvents100.OnError 메서드

정의

오류가 발생할 때 태스크 또는 컨테이너에서 호출됩니다.

public:
 void OnError(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100 ^ pSource, int ErrorCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext, System::String ^ IDOfInterfaceWithError, [Runtime::InteropServices::Out] bool % pbCancel);
[System.Runtime.InteropServices.DispId(6)]
public void OnError(Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100 pSource, int ErrorCode, string SubComponent, string Description, string HelpFile, int HelpContext, string IDOfInterfaceWithError, out bool pbCancel);
[<System.Runtime.InteropServices.DispId(6)>]
abstract member OnError : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100 * int * string * string * string * int * string * bool -> unit
Public Sub OnError (pSource As IDTSRuntimeObject100, ErrorCode As Integer, SubComponent As String, Description As String, HelpFile As String, HelpContext As Integer, IDOfInterfaceWithError As String, ByRef pbCancel As Boolean)

매개 변수

pSource
IDTSRuntimeObject100

오류의 근원, 사건을 일으킨 물체.

ErrorCode
Int32

오류 메시지를 식별하는 정수입니다. 이 식별자는 매개변수와 source 결합할 때 고유해야 하므로 와 errorCode 조합도 source 고유해야 합니다. 하지만 단독으로 errorCode 고유할 것으로 기대되지는 않습니다.

SubComponent
String

소스 내 서브모듈을 식별하는 임의의 문자열입니다. 예를 들어, 파이프라인 작업에서의 변환 같은 경우입니다.

Description
String

메시지의 텍스트입니다.

HelpFile
String

자세한 정보가 담긴 도움말 파일로 가는 경로입니다.

HelpContext
Int32

도움말 파일에 있는 주제의 식별자.

IDOfInterfaceWithError
String

오류를 일으킨 인터페이스의 GUID를 텍스트로 표현한 것입니다.

pbCancel
Boolean

오류를 취소하려면 true; 그렇지 않으면 거짓입니다.

특성

설명

자세한 내용은 IDTSEvents를 참조하세요.

적용 대상