EventsObjectWrapper.FireWarning(Int32, String, String, String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises an event anytime the task is in a state that does not justify an error, but does warrant alerting the client.
public:
void FireWarning(int warningCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext);
public void FireWarning (int warningCode, string subComponent, string description, string helpFile, int helpContext);
member this.FireWarning : int * string * string * string * int -> unit
Public Sub FireWarning (warningCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer)
Parameters
- warningCode
- Int32
Identifies the warning message.
- subComponent
- String
Contains more detail about the event source.
- description
- String
The text of the message.
- helpFile
- String
The path to the Help file that contains detailed information.
- helpContext
- Int32
The identifier of the topic in the Help file.