Compartir a través de


FireError Método (Int32, 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 (en Microsoft.SqlServer.DtsMsg.dll)

Sintaxis

'Declaración
Public Sub FireError ( _
    hResult As Integer, _
    <OutAttribute> ByRef bCancel As Boolean _
)
'Uso
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
)

Parámetros