次の方法で共有


ErrorSupport.FireInformationWithArgs メソッド (Int32, String, String, Int32, Boolean%, array<Object )

指定した HRESULT に関する情報メッセージを生成し、指定したコンポーネント、ヘルプ ファイル、およびヘルプ コンテキストと関連付け、実行をキャンセルできるようにし、ユーザー定義オブジェクトまたはユーザー定義情報のオプション配列を埋め込みます。

名前空間:  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
    基になる COM 関数の HRESULT です。
  • strSubComponent
    型: System.String
    コンポーネントの表示名です。
  • strHelpFile
    型: System.String
    生成されるメッセージに関する追加情報を提供するヘルプ ファイルです。
  • HelpContext
    型: System.Int32
    生成されるメッセージに関する追加情報を提供するヘルプ ファイル内の場所です。
  • bFireAgain
    型: System.Boolean%
    次に同じイベントが発生したときに、コンポーネントが同じ情報メッセージを生成する必要がある場合は true、それ以外の場合は false です。
  • paramList
    型: array<System.Object[]
    ユーザー定義オブジェクトまたはユーザー定義情報のオプション配列です。

関連項目

参照

ErrorSupport クラス

FireInformationWithArgs オーバーロード

Microsoft.SqlServer.Dts.ManagedMsg 名前空間