IDTSComponentEvents.FireInformation 메서드

정의

정보를 포함하는 이벤트를 발생시킵니다.

public:
 void FireInformation(int informationCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext, bool % fireAgain);
public void FireInformation (int informationCode, string subComponent, string description, string helpFile, int helpContext, ref bool fireAgain);
abstract member FireInformation : int * string * string * string * int * bool -> unit
Public Sub FireInformation (informationCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer, ByRef fireAgain As Boolean)

매개 변수

informationCode
Int32

정보 메시지를 식별하는 정수입니다.

subComponent
String

이벤트 원본에 대한 자세한 정보를 포함하는 문자열입니다.

description
String

메시지의 텍스트입니다.

helpFile
String

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

helpContext
Int32

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

fireAgain
Boolean

계속 발생하거나 발사를 중지해야 임을 나타내는 부울입니다. true 값은 계속 발생해야 임을 나타냅니다.

설명

정보 이벤트의 정의는 대부분의 사용자에게 항상 표시될 만큼 중요한 메시지라는 것입니다. 잠재적 손상이 암시되지 않는다는 경고와는 다르며, 해제 또는 필터링할 수 없고 이벤트 처리기에서 처리할 수 있다는 점에서 로깅과 다릅니다.

이벤트 발생 비용이 많이 들 수 있으므로 런타임 엔진은 관심 없는 이벤트를 표시하지 않는 메커니즘을 제공합니다. 모든 이벤트 발생 메서드에는 매개 변수가 있습니다 FireAgain . 이 변수의 값이 false메서드가 반환된 후 호출자는 현재 실행 기간 동안 이 이벤트를 다시 실행하지 않습니다.

일부 이벤트에는 subComponent 이벤트 원본 식별에서 더 큰 세분성을 허용하는 매개 변수가 있습니다.

적용 대상