共用方式為


ErrorSupport.FireInformation Method

Definition

Raises an informational message.

Overloads

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

Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, and allows execution to be cancelled.

FireInformation(Int32, Boolean)

Raises an informational message about the specified HRESULT and allows execution to be cancelled.

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

Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, and allows execution to be cancelled.

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)

Parameters

hResult
Int32

The HRESULT of the underlying COM function.

strSubComponent
String

The friendly name of the component.

strHelpFile
String

The help file that provides additional information about the messages that are raised.

HelpContext
Int32

The location in the help file that provides additional information about the messages that are raised.

bFireAgain
Boolean

true if the component should raise the same informational message the next time the same event occurs; otherwise, false.

Applies to

FireInformation(Int32, Boolean)

Raises an informational message about the specified HRESULT and allows execution to be cancelled.

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)

Parameters

hResult
Int32

The HRESULT of the underlying COM function.

bFireAgain
Boolean

true if the component should raise the same informational message the next time the same event occurs; otherwise, false.

Applies to