Partager via


ErrorSupport.FireErrorWithArgs Method (Int32, out Boolean, Object[])

Raises an error identified by the specified HRESULT, allows execution to be cancelled, 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 FireErrorWithArgs ( _
    hResult As Integer, _
    <OutAttribute> ByRef bCancel As Boolean, _
    ParamArray paramList As Object() _
)
public void FireErrorWithArgs (
    int hResult,
    out bool bCancel,
    params Object[] paramList
)
public:
void FireErrorWithArgs (
    int hResult, 
    [OutAttribute] bool% bCancel, 
    ... array<Object^>^ paramList
)
public void FireErrorWithArgs (
    int hResult, 
    /** @attribute OutAttribute() */ /** @ref */ boolean bCancel, 
    Object[] paramList
)
JScript ne prend pas en charge le passage d'arguments de type valeur par référence.

Paramètres

  • hResult
    The HRESULT of the underlying COM error.
  • bCancel
    true to cancel execution; otherwise, false.
  • 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