IDTSComponentMetaData100.FireWarning(Int32, String, String, String, Int32) IDTSComponentMetaData100.FireWarning(Int32, String, String, String, Int32) IDTSComponentMetaData100.FireWarning(Int32, String, String, String, Int32) Method

Definition

public:
 void FireWarning(int WarningCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext);
[System.Runtime.InteropServices.DispId(127)]
public void FireWarning (int WarningCode, string SubComponent, string Description, string HelpFile, int HelpContext);
Public Sub FireWarning (WarningCode As Integer, SubComponent As String, Description As String, HelpFile As String, HelpContext As Integer)

Parameters

WarningCode
Int32 Int32 Int32

The component-defined error code.

SubComponent
String String String

The name of the component that raises the warning.

Description
String String String

The description of the warning.

HelpFile
String String String

The help file that contains more information about the warning.

HelpContext
Int32 Int32 Int32

The help context ID of the warning.

Remarks

An OnWarning event can be raised during package design or execution. During design time, warnings are displayed in the Task List window and cause the yellow exclamation icon to be displayed next to the component shape.

Applies to