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
    类型:String

    一个包含错误说明的字符串。

  • ulHRESULT
    类型:UInt32

    向导返回的状态代码。

  • dwReserved
    类型:UInt32

    保留。

  • bstrHelpKeyword
    类型:String

    要与消息框上的帮助按钮关联的关键字。

  • bstrSource
    类型:String

    包含错误源名称的字符串。

.NET Framework 安全性

请参阅

参考

IVCWizCtlUI 接口

Microsoft.VisualStudio.VsWizard 命名空间