FireInformation 方法 (Int32, String, String, Int32, Boolean)

Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, and allows execution to be cancelled.

命名空间:  Microsoft.SqlServer.Dts.ManagedMsg
程序集:  Microsoft.SqlServer.DtsMsg(在 Microsoft.SqlServer.DtsMsg.dll 中)

语法

声明
Public Sub FireInformation ( _
    hResult As Integer, _
    strSubComponent As String, _
    strHelpFile As String, _
    HelpContext As Integer, _
    ByRef bFireAgain As Boolean _
)
用法
Dim instance As ErrorSupport
Dim hResult As Integer
Dim strSubComponent As String
Dim strHelpFile As String
Dim HelpContext As Integer
Dim bFireAgain As Boolean

instance.FireInformation(hResult, strSubComponent, _
    strHelpFile, HelpContext, bFireAgain)
public void FireInformation(
    int hResult,
    string strSubComponent,
    string strHelpFile,
    int HelpContext,
    ref bool bFireAgain
)
public:
void FireInformation(
    int hResult, 
    String^ strSubComponent, 
    String^ strHelpFile, 
    int HelpContext, 
    bool% bFireAgain
)
member FireInformation : 
        hResult:int * 
        strSubComponent:string * 
        strHelpFile:string * 
        HelpContext:int * 
        bFireAgain:bool byref -> unit 
public function FireInformation(
    hResult : int, 
    strSubComponent : String, 
    strHelpFile : String, 
    HelpContext : int, 
    bFireAgain : boolean
)

参数

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