IDTSComponentMetaData100.FireError 메서드

정의

public:
 void FireError(int ErrorCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext, [Runtime::InteropServices::Out] bool % pbCancel);
[System.Runtime.InteropServices.DispId(129)]
public void FireError (int ErrorCode, string SubComponent, string Description, string HelpFile, int HelpContext, out bool pbCancel);
[<System.Runtime.InteropServices.DispId(129)>]
abstract member FireError : int * string * string * string * int * bool -> unit
Public Sub FireError (ErrorCode As Integer, SubComponent As String, Description As String, HelpFile As String, HelpContext As Integer, ByRef pbCancel As Boolean)

매개 변수

ErrorCode
Int32
SubComponent
String
Description
String
HelpFile
String
HelpContext
Int32
pbCancel
Boolean
특성

설명

OnError 패키지 디자인 또는 실행 중에 이벤트가 발생할 수 있습니다. 디자인 타임 동안 작업 목록 창에 오류가 표시되고 디자이너 화면의 구성 요소 셰이프 옆에 빨간색 X 아이콘이 표시됩니다. 실행하는 동안 오류 이벤트로 인해 패키지 실행이 종료될 수 있습니다.

적용 대상