Compartilhar via


Método IVCWizCtlUI.SetErrorInfo

Define o texto de erro para o item especificado.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • bstrDescription
    Tipo: String

    Uma cadeia de caracteres que contém uma descrição do erro.

  • ulHRESULT
    Tipo: UInt32

    O código de status retornado pelo assistente.

  • dwReserved
    Tipo: UInt32

    Reservado.

  • bstrHelpKeyword
    Tipo: String

    A palavra-chave para anexar um botão ajuda na caixa de mensagem

  • bstrSource
    Tipo: String

    Uma cadeia de caracteres que contém o nome da fonte do erro.

Segurança do .NET Framework

Consulte também

Referência

IVCWizCtlUI Interface

Namespace Microsoft.VisualStudio.VsWizard