Partilhar via


Método IVsUpgradeLogger.LogMessage (UInt32, String, String, String)

 

Publicado: abril de 2016

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (em Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Sintaxe

int LogMessage(
    uint ErrorLevel,
    string bstrProject,
    string bstrSource,
    string bstrDescription
)
int LogMessage(
    unsigned int ErrorLevel,
    String^ bstrProject,
    String^ bstrSource,
    String^ bstrDescription
)
abstract LogMessage : 
        ErrorLevel:uint32 *
        bstrProject:string *
        bstrSource:string *
        bstrDescription:string -> int
Function LogMessage (
    ErrorLevel As UInteger,
    bstrProject As String,
    bstrSource As String,
    bstrDescription As String
) As Integer

Parâmetros

  • ErrorLevel
    [in]
  • bstrProject
    [in]
  • bstrSource
    [in]
  • bstrDescription
    [in]

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell80.idl:

HRESULT IVsUpgradeLogger::LogMessage();

Consulte também

Interface IVsUpgradeLogger
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo