Partager via


ErrorSupport.FireWarningWithArgs Method (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.

Espace de noms: Microsoft.SqlServer.Dts.ManagedMsg
Assembly: Microsoft.SqlServer.DtsMsg (in microsoft.sqlserver.dtsmsg.dll)

Syntaxe

'Déclaration
Public Sub FireWarningWithArgs ( _
    hResult As Integer, _
    strSubComponent As String, _
    strHelpFile As String, _
    HelpContext As Integer, _
    ParamArray paramList As Object() _
)
public void FireWarningWithArgs (
    int hResult,
    string strSubComponent,
    string strHelpFile,
    int HelpContext,
    params Object[] paramList
)
public:
void FireWarningWithArgs (
    int hResult, 
    String^ strSubComponent, 
    String^ strHelpFile, 
    int HelpContext, 
    ... array<Object^>^ paramList
)
public void FireWarningWithArgs (
    int hResult, 
    String strSubComponent, 
    String strHelpFile, 
    int HelpContext, 
    Object[] paramList
)
public function FireWarningWithArgs (
    hResult : int, 
    strSubComponent : String, 
    strHelpFile : String, 
    HelpContext : int, 
    ... paramList : Object[]
)

Paramètres

  • hResult
    The HRESULT of the underlying COM error.
  • strSubComponent
    The friendly name of the component.
  • strHelpFile
    The help file that provides additional information about the messages that are raised.
  • HelpContext
    The location in the help file that provides additional information about the messages that are raised.
  • paramList
    An optional array of user-defined objects or information.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ErrorSupport Class
ErrorSupport Members
Microsoft.SqlServer.Dts.ManagedMsg Namespace