Share via


ErrorSupport.FireWarningWithArgs Method

Definition

Raises a warning with the option to provide an array of user-defined objects or information.

Overloads

FireWarningWithArgs(Int32, Object[])

Raises a warning identified by the specified HRESULT and includes an optional array of user-defined objects or information.

FireWarningWithArgs(Int32, String, String, Int32, Object[])

Raises a warning identified by the specified HRESULT, associates it with the specified component, help file, and help context, and includes an optional array of user-defined objects or information.

FireWarningWithArgs(Int32, Object[])

Raises a warning identified by the specified HRESULT and includes an optional array of user-defined objects or information.

public:
 void FireWarningWithArgs(int hResult, ... cli::array <System::Object ^> ^ paramList);
public void FireWarningWithArgs (int hResult, params object[] paramList);
member this.FireWarningWithArgs : int * obj[] -> unit
Public Sub FireWarningWithArgs (hResult As Integer, ParamArray paramList As Object())

Parameters

hResult
Int32

The HRESULT of the underlying COM error.

paramList
Object[]

An optional array of user-defined objects or information.

Applies to

FireWarningWithArgs(Int32, String, String, Int32, Object[])

Raises a warning identified by the specified HRESULT, associates it with the specified component, help file, and help context, and includes an optional array of user-defined objects or information.

public:
 void FireWarningWithArgs(int hResult, System::String ^ strSubComponent, System::String ^ strHelpFile, int HelpContext, ... cli::array <System::Object ^> ^ paramList);
public void FireWarningWithArgs (int hResult, string strSubComponent, string strHelpFile, int HelpContext, params object[] paramList);
member this.FireWarningWithArgs : int * string * string * int * obj[] -> unit
Public Sub FireWarningWithArgs (hResult As Integer, strSubComponent As String, strHelpFile As String, HelpContext As Integer, ParamArray paramList As Object())

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.

paramList
Object[]

An optional array of user-defined objects or information.

Applies to