DefaultEvents.OnWarning 메서드

정의

이 이벤트는 태스크로 인해 오류가 발생하지는 않지만 클라이언트에 경고를 전달해야 하는 경우에 발생합니다.

public:
 virtual void OnWarning(Microsoft::SqlServer::Dts::Runtime::DtsObject ^ source, int warningCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext, System::String ^ idofInterfaceWithError);
public virtual void OnWarning (Microsoft.SqlServer.Dts.Runtime.DtsObject source, int warningCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError);
abstract member OnWarning : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string -> unit
override this.OnWarning : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string -> unit
Public Overridable Sub OnWarning (source As DtsObject, warningCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer, idofInterfaceWithError As String)

매개 변수

source
DtsObject

이벤트를 일으킨 개체입니다.

warningCode
Int32

경고 메시지를 식별하는 정수입니다. sourcesource의 조합은 중복되지 않아야 하므로 이 식별자를 warningCode 매개 변수와 함께 사용하는 경우에는 식별자가 고유해야 합니다. 그러나 warningCode만 단독으로 사용하는 경우에는 식별자가 고유하지 않아도 됩니다.

subComponent
String

원본 내 하위 모듈을 식별하는 임의의 문자열입니다. 파이프라인 태스크의 변환을 예로 들 수 있습니다.

description
String

메시지의 텍스트입니다.

helpFile
String

자세한 정보가 포함된 도움말 파일의 경로입니다.

helpContext
Int32

도움말 파일의 항목에 대한 식별자입니다.

idofInterfaceWithError
String

오류를 발생시킨 인터페이스의 GUID를 나타내는 텍스트 표현입니다.

구현

적용 대상