Compartir a través de


ErrorSupport.FireError Method (Int32, out Boolean)

Raises an error identified by the specified HRESULT and allows execution to be cancelled.

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

Sintaxis

'Declaración
Public Sub FireError ( _
    hResult As Integer, _
    <OutAttribute> ByRef bCancel As Boolean _
)
public void FireError (
    int hResult,
    out bool bCancel
)
public:
void FireError (
    int hResult, 
    [OutAttribute] bool% bCancel
)
public void FireError (
    int hResult, 
    /** @attribute OutAttribute() */ /** @ref */ boolean bCancel
)
JScript no permite pasar argumentos de valor para referencia.

Parámetros

  • hResult
    The HRESULT of the underlying COM error.
  • bCancel
    true to cancel execution; otherwise, false.

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