共用方式為


ErrorSupport.FireInformationWithArgs 方法 (Int32, String, String, Int32, Boolean%, array<Object )

Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, 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 FireInformationWithArgs ( _
    hResult As Integer, _
    strSubComponent As String, _
    strHelpFile As String, _
    HelpContext As Integer, _
    ByRef bFireAgain As Boolean, _
    ParamArray paramList As Object() _
)
'用途
Dim instance As ErrorSupport 
Dim hResult As Integer 
Dim strSubComponent As String 
Dim strHelpFile As String 
Dim HelpContext As Integer 
Dim bFireAgain As Boolean 
Dim paramList As Object()

instance.FireInformationWithArgs(hResult, _
    strSubComponent, strHelpFile, HelpContext, _
    bFireAgain, paramList)
public void FireInformationWithArgs(
    int hResult,
    string strSubComponent,
    string strHelpFile,
    int HelpContext,
    ref bool bFireAgain,
    params Object[] paramList
)
public:
void FireInformationWithArgs(
    int hResult, 
    String^ strSubComponent, 
    String^ strHelpFile, 
    int HelpContext, 
    bool% bFireAgain, 
    ... array<Object^>^ paramList
)
member FireInformationWithArgs : 
        hResult:int * 
        strSubComponent:string * 
        strHelpFile:string * 
        HelpContext:int * 
        bFireAgain:bool byref * 
        paramList:Object[] -> unit
public function FireInformationWithArgs(
    hResult : int, 
    strSubComponent : String, 
    strHelpFile : String, 
    HelpContext : int, 
    bFireAgain : boolean, 
    ... paramList : Object[]
)

參數

  • hResult
    型別:System.Int32
    The HRESULT of the underlying COM function.
  • strSubComponent
    型別:System.String
    The friendly name of the component.
  • strHelpFile
    型別:System.String
    The help file that provides additional information about the messages that are raised.
  • HelpContext
    型別:System.Int32
    The location in the help file that provides additional information about the messages that are raised.
  • bFireAgain
    型別:System.Boolean%
    true if the component should raise the same informational message the next time the same event occurs; otherwise, false.
  • paramList
    型別:array<System.Object[]
    An optional array of user-defined objects or information.

請參閱

參考

ErrorSupport 類別

FireInformationWithArgs 多載

Microsoft.SqlServer.Dts.ManagedMsg 命名空間