次の方法で共有


IVCWizCtlUI.SetErrorInfo メソッド

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

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

構文

'宣言
Sub SetErrorInfo ( _
    bstrDescription As String, _
    ulHRESULT As UInteger, _
    dwReserved As UInteger, _
    bstrHelpKeyword As String, _
    bstrSource As String _
)
void SetErrorInfo(
    string bstrDescription,
    uint ulHRESULT,
    uint dwReserved,
    string bstrHelpKeyword,
    string bstrSource
)
void SetErrorInfo(
    [InAttribute] String^ bstrDescription, 
    [InAttribute] unsigned int ulHRESULT, 
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] String^ bstrHelpKeyword, 
    [InAttribute] String^ bstrSource
)
abstract SetErrorInfo : 
        bstrDescription:string * 
        ulHRESULT:uint32 * 
        dwReserved:uint32 * 
        bstrHelpKeyword:string * 
        bstrSource:string -> unit 
function SetErrorInfo(
    bstrDescription : String, 
    ulHRESULT : uint, 
    dwReserved : uint, 
    bstrHelpKeyword : String, 
    bstrSource : String
)

パラメーター

  • bstrDescription
    型 : System.String
    エラーの説明を含む文字列。
  • ulHRESULT
    型 : System.UInt32
    ウィザードにより返されたステータス コード。
  • bstrHelpKeyword
    型 : System.String
    メッセージ ボックスのヘルプ ボタンに割り当てるキーワード。
  • bstrSource
    型 : System.String
    エラー ソースの名前を含む文字列。

.NET Framework セキュリティ

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

参照

関連項目

IVCWizCtlUI インターフェイス

Microsoft.VisualStudio.VsWizard 名前空間