ErrorSupport.FireError Method (Int32, out Boolean)
Raises an error identified by the specified HRESULT and allows execution to be cancelled.
Namespace: Microsoft.SqlServer.Dts.ManagedMsg
Assembly: Microsoft.SqlServer.DtsMsg (in microsoft.sqlserver.dtsmsg.dll)
Syntax
'Declaration
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 does not support passing value-type arguments by reference.
Parameters
- hResult
The HRESULT of the underlying COM error.
- bCancel
true to cancel execution; otherwise, false.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ErrorSupport Class
ErrorSupport Members
Microsoft.SqlServer.Dts.ManagedMsg Namespace