IVsActivityLog.LogEntry Method

Makes a log entry specifying the log type, the package name, and the event text.

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


Function LogEntry ( _
    actType As UInteger, _
    pszSource As String, _
    pszDescription As String _
) As Integer
‘사용 방법
Dim instance As IVsActivityLog
Dim actType As UInteger
Dim pszSource As String
Dim pszDescription As String
Dim returnValue As Integer

returnValue = instance.LogEntry(actType, _
    pszSource, pszDescription)
int LogEntry(
    uint actType,
    string pszSource,
    string pszDescription
int LogEntry(
    [InAttribute] unsigned int actType, 
    [InAttribute] String^ pszSource, 
    [InAttribute] String^ pszDescription
abstract LogEntry : 
        actType:uint32 * 
        pszSource:string * 
        pszDescription:string -> int 
function LogEntry(
    actType : uint, 
    pszSource : String, 
    pszDescription : String
) : int


  • pszSource
    Type: System.String
    [in] Pointer to a string containing the name of the package or component making the call.
  • pszDescription
    Type: System.String
    [in] Pointer to a string describing the event.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From vsshell80.idl:

HRESULT IVsActivityLog::LogEntry(
   [in] LPCOLESTR pszSource, 
   [in] LPCOLESTR pszDescription

.NET Framework Security

See Also


IVsActivityLog Interface

IVsActivityLog Members

Microsoft.VisualStudio.Shell.Interop Namespace