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 아이콘이 표시됩니다. 실행 중에 오류 이벤트로 인해 패키지 실행이 종료될 수 있습니다.

적용 대상