次の方法で共有


ErrorSupport.FireInformation メソッド (Int32, String, String, Int32, Boolean%)

指定した HRESULT に関する情報メッセージを生成し、指定したコンポーネント、ヘルプ ファイル、およびヘルプ コンテキストと関連付け、実行をキャンセルできるようにします。

名前空間:  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
)

パラメーター

  • hResult
    型: System.Int32
    基になる COM 関数の HRESULT です。
  • strSubComponent
    型: System.String
    コンポーネントの表示名です。
  • strHelpFile
    型: System.String
    生成されるメッセージに関する追加情報を提供するヘルプ ファイルです。
  • HelpContext
    型: System.Int32
    生成されるメッセージに関する追加情報を提供するヘルプ ファイル内の場所です。
  • bFireAgain
    型: System.Boolean%
    次に同じイベントが発生したときに、コンポーネントが同じ情報メッセージを生成する必要がある場合は true、それ以外の場合は false です。

関連項目

参照

ErrorSupport クラス

FireInformation オーバーロード

Microsoft.SqlServer.Dts.ManagedMsg 名前空間