ErrorSupport.FireInformation 方法

定义

引发一条信息性消息。

重载

FireInformation(Int32, String, String, Int32, Boolean)

引发有关指定的 HRESULT 的信息性消息,将其与指定的组件、帮助文件和帮助上下文关联起来,并允许取消执行。

FireInformation(Int32, Boolean)

引发有关指定的 HRESULT 的信息性消息,并允许取消执行。

FireInformation(Int32, String, String, Int32, Boolean)

引发有关指定的 HRESULT 的信息性消息,将其与指定的组件、帮助文件和帮助上下文关联起来,并允许取消执行。

public:
 void FireInformation(int hResult, System::String ^ strSubComponent, System::String ^ strHelpFile, int HelpContext, bool % bFireAgain);
public void FireInformation (int hResult, string strSubComponent, string strHelpFile, int HelpContext, ref bool bFireAgain);
member this.FireInformation : int * string * string * int * bool -> unit
Public Sub FireInformation (hResult As Integer, strSubComponent As String, strHelpFile As String, HelpContext As Integer, ByRef bFireAgain As Boolean)

参数

hResult
Int32

基础 COM 函数的 HRESULT。

strSubComponent
String

组件的友好名称。

strHelpFile
String

提供有关所引发消息的其他信息的帮助文件。

HelpContext
Int32

帮助文件中提供有关所引发消息的其他信息的位置。

bFireAgain
Boolean

如果组件下次发生同一事件时应引发相同的信息性消息,则为 true;否则为 false。

适用于

FireInformation(Int32, Boolean)

引发有关指定的 HRESULT 的信息性消息,并允许取消执行。

public:
 void FireInformation(int hResult, bool % bFireAgain);
public void FireInformation (int hResult, ref bool bFireAgain);
member this.FireInformation : int * bool -> unit
Public Sub FireInformation (hResult As Integer, ByRef bFireAgain As Boolean)

参数

hResult
Int32

基础 COM 函数的 HRESULT。

bFireAgain
Boolean

如果组件下次发生同一事件时应引发相同的信息性消息,则为 true;否则为 false。

适用于