FireError 方法 (Int32, Boolean)
Raises an error identified by the specified HRESULT and allows execution to be cancelled.
命名空间: Microsoft.SqlServer.Dts.ManagedMsg
程序集: Microsoft.SqlServer.DtsMsg(在 Microsoft.SqlServer.DtsMsg.dll 中)
语法
声明
Public Sub FireError ( _
hResult As Integer, _
<OutAttribute> ByRef bCancel As Boolean _
)
用法
Dim instance As ErrorSupport
Dim hResult As Integer
Dim bCancel As Boolean
instance.FireError(hResult, bCancel)
public void FireError(
int hResult,
out bool bCancel
)
public:
void FireError(
int hResult,
[OutAttribute] bool% bCancel
)
member FireError :
hResult:int *
bCancel:bool byref -> unit
public function FireError(
hResult : int,
bCancel : boolean
)
参数
- hResult
类型:System. . :: . .Int32
The HRESULT of the underlying COM error.
- bCancel
类型:System. . :: . .Boolean%
true to cancel execution; otherwise, false.