Partager via


IVCWizCtlUI.SetErrorInfo Method

Sets error text for the specified item.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
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
)

Parameters

  • bstrDescription
    Type: System.String

    A string containing a description of the error.

  • ulHRESULT
    Type: System.UInt32

    The status code returned by the wizard.

  • bstrHelpKeyword
    Type: System.String

    The keyword to attach to a help button on the message box

  • bstrSource
    Type: System.String

    A string containing the name of the error source.

.NET Framework Security

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace