VCWizCtlClass.SetErrorInfo メソッド

指定されたアイテムのエラー テキストを設定します。

名前空間 :  Microsoft.VisualStudio.VsWizard
アセンブリ :  Microsoft.VisualStudio.VsWizard (Microsoft.VisualStudio.VsWizard.dll 内)

構文

'宣言
Public Overridable Sub SetErrorInfo ( _
    bstrDescription As String, _
    ulHRESULT As UInteger, _
    dwReserved As UInteger, _
    bstrHelpKeyword As String, _
    bstrSource As String _
)
'使用
Dim instance As VCWizCtlClass
Dim bstrDescription As String
Dim ulHRESULT As UInteger
Dim dwReserved As UInteger
Dim bstrHelpKeyword As String
Dim bstrSource As String

instance.SetErrorInfo(bstrDescription, _
    ulHRESULT, dwReserved, bstrHelpKeyword, _
    bstrSource)
public virtual void SetErrorInfo(
    string bstrDescription,
    uint ulHRESULT,
    uint dwReserved,
    string bstrHelpKeyword,
    string bstrSource
)
public:
virtual void SetErrorInfo(
    [InAttribute] String^ bstrDescription, 
    [InAttribute] unsigned int ulHRESULT, 
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] String^ bstrHelpKeyword, 
    [InAttribute] String^ bstrSource
)
public function SetErrorInfo(
    bstrDescription : String, 
    ulHRESULT : uint, 
    dwReserved : uint, 
    bstrHelpKeyword : String, 
    bstrSource : String
)

パラメータ

  • bstrDescription
    型 : System.String

    エラーの説明を含む文字列。

  • ulHRESULT
    型 : System.UInt32

    ウィザードにより返されたステータス コード。

  • bstrHelpKeyword
    型 : System.String

    メッセージ ボックスのヘルプ ボタンに割り当てるキーワード。

  • bstrSource
    型 : System.String

    エラー ソースの名前を含む文字列。

実装

IVCWizCtlUI.SetErrorInfo(String, UInt32, UInt32, String, String)

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

VCWizCtlClass クラス

VCWizCtlClass メンバ

Microsoft.VisualStudio.VsWizard 名前空間