ErrorSupport.FireWarning Method

Definition

Raises a warning.

Overloads

FireWarning(Int32)

Raises a warning identified by the specified HRESULT and allows execution to be cancelled.

FireWarning(Int32, String, String, Int32)

Raises a warning identified by the specified HRESULT and associates it with the specified component, help file, and help context.

FireWarning(Int32)

Raises a warning identified by the specified HRESULT and allows execution to be cancelled.

public:
 void FireWarning(int hResult);
public void FireWarning (int hResult);
member this.FireWarning : int -> unit
Public Sub FireWarning (hResult As Integer)

Parameters

hResult
Int32

The HRESULT of the underlying COM error.

Applies to

FireWarning(Int32, String, String, Int32)

Raises a warning identified by the specified HRESULT and associates it with the specified component, help file, and help context.

public:
 void FireWarning(int hResult, System::String ^ strSubComponent, System::String ^ strHelpFile, int HelpContext);
public void FireWarning (int hResult, string strSubComponent, string strHelpFile, int HelpContext);
member this.FireWarning : int * string * string * int -> unit
Public Sub FireWarning (hResult As Integer, strSubComponent As String, strHelpFile As String, HelpContext As Integer)

Parameters

hResult
Int32

The HRESULT of the underlying COM error.

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.

Applies to