Compartir a través de


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

Raises an error identified by the specified HRESULT, associates it with the specified component, help file, and help context, allows execution to be cancelled, and includes an optional array of user-defined objects or information.

Espacio de nombres: Microsoft.SqlServer.Dts.ManagedMsg
Ensamblado: Microsoft.SqlServer.DtsMsg (in microsoft.sqlserver.dtsmsg.dll)

Sintaxis

'Declaración
Public Sub FireErrorWithArgs ( _
    hResult As Integer, _
    strSubComponent As String, _
    strHelpFile As String, _
    HelpContext As Integer, _
    <OutAttribute> ByRef bCancel As Boolean, _
    ParamArray paramList As Object() _
)
public void FireErrorWithArgs (
    int hResult,
    string strSubComponent,
    string strHelpFile,
    int HelpContext,
    out bool bCancel,
    params Object[] paramList
)
public:
void FireErrorWithArgs (
    int hResult, 
    String^ strSubComponent, 
    String^ strHelpFile, 
    int HelpContext, 
    [OutAttribute] bool% bCancel, 
    ... array<Object^>^ paramList
)
public void FireErrorWithArgs (
    int hResult, 
    String strSubComponent, 
    String strHelpFile, 
    int HelpContext, 
    /** @attribute OutAttribute() */ /** @ref */ boolean bCancel, 
    Object[] paramList
)
JScript no permite pasar argumentos de valor para referencia.

Parámetros

  • 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.
  • bCancel
    true to cancel execution; otherwise, false.
  • paramList
    An optional array of user-defined objects or information.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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