IDTSComponentMetaData100.FireInformation 方法

定義

public:
 void FireInformation(int InformationCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext, [Runtime::InteropServices::Out] bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(128)]
public void FireInformation (int InformationCode, string SubComponent, string Description, string HelpFile, int HelpContext, out bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(128)>]
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 pbFireAgain As Boolean)

參數

InformationCode
Int32

元件定義的資訊代碼。

SubComponent
String

引發事件的元件名稱。

Description
String

資訊事件的描述。

HelpFile
String

提供有關資訊事件之詳細資訊的說明檔。

HelpContext
Int32

資訊的內容識別碼。

pbFireAgain
Boolean

指定未來是否應該再次引發事件。

屬性

備註

OnInformation事件應該只在元件執行期間引發,因為不會在元件設計期間明確地捕捉資訊。

pbFireAgain參數是由執行時間設定,並指出是否有任何用戶端正在接聽事件。 元件會在本機儲存此參數的值,並且應該先評估其值,然後再次引發事件。 如果參數的值 pbFireAgainfalse ,則不應引發事件。

適用於