ErrorSupport.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.

참고 항목

참조

ErrorSupport 클래스

FireError 오버로드

Microsoft.SqlServer.Dts.ManagedMsg 네임스페이스