Share via


ErrorSupport.FireErrorWithArgs 메서드 (Int32, Boolean%, array<Object )

Raises an error identified by the specified HRESULT, allows execution to be cancelled, and includes an optional array of user-defined objects or information.

네임스페이스:  Microsoft.SqlServer.Dts.ManagedMsg
어셈블리:  Microsoft.SqlServer.DtsMsg(Microsoft.SqlServer.DtsMsg.dll)

구문

‘선언
Public Sub FireErrorWithArgs ( _
    hResult As Integer, _
    <OutAttribute> ByRef bCancel As Boolean, _
    ParamArray paramList As Object() _
)
‘사용 방법
Dim instance As ErrorSupport 
Dim hResult As Integer 
Dim bCancel As Boolean 
Dim paramList As Object()

instance.FireErrorWithArgs(hResult, bCancel, _
    paramList)
public void FireErrorWithArgs(
    int hResult,
    out bool bCancel,
    params Object[] paramList
)
public:
void FireErrorWithArgs(
    int hResult, 
    [OutAttribute] bool% bCancel, 
    ... array<Object^>^ paramList
)
member FireErrorWithArgs : 
        hResult:int * 
        bCancel:bool byref * 
        paramList:Object[] -> unit
public function FireErrorWithArgs(
    hResult : int, 
    bCancel : boolean, 
    ... paramList : Object[]
)

매개 변수

  • hResult
    유형: System.Int32
    The HRESULT of the underlying COM error.
  • bCancel
    유형: System.Boolean%
    true to cancel execution; otherwise, false.
  • paramList
    유형: array<System.Object[]
    An optional array of user-defined objects or information.

참고 항목

참조

ErrorSupport 클래스

FireErrorWithArgs 오버로드

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