Método IVsActivityLog.LogEntry (UInt32, String, String)

 

Publicado: abril de 2016

Faz com que uma entrada de log, especificando o tipo de log, o nome do pacote e o texto do evento.

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

Sintaxe

int LogEntry(
    uint actType,
    string pszSource,
    string pszDescription
)
int LogEntry(
    unsigned int actType,
    String^ pszSource,
    String^ pszDescription
)
abstract LogEntry : 
        actType:uint32 *
        pszSource:string *
        pszDescription:string -> int
Function LogEntry (
    actType As UInteger,
    pszSource As String,
    pszDescription As String
) As Integer

Parâmetros

  • pszSource
    [in] Ponteiro para uma seqüência de caracteres que contém o nome do pacote ou componente, fazendo a chamada.
  • pszDescription
    [in] Ponteiro para uma seqüência de caracteres descrevendo o evento.

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 IVsActivityLog::LogEntry(
   [in] ACTIVITYLOG_ENTRYTYPE actType, 
   [in] LPCOLESTR pszSource, 
   [in] LPCOLESTR pszDescription
);

Consulte também

Interface IVsActivityLog
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo