Share via


IVsActivityLog.LogEntryPath Method

Makes a log entry specifying entry type, package name, event text, and a full file path to store in the event record.

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

Syntax

'Declaration
Function LogEntryPath ( _
    actType As UInteger, _
    pszSource As String, _
    pszDescription As String, _
    pszPath As String _
) As Integer
int LogEntryPath(
    uint actType,
    string pszSource,
    string pszDescription,
    string pszPath
)
int LogEntryPath(
    [InAttribute] unsigned int actType, 
    [InAttribute] String^ pszSource, 
    [InAttribute] String^ pszDescription, 
    [InAttribute] String^ pszPath
)
abstract LogEntryPath : 
        actType:uint32 * 
        pszSource:string * 
        pszDescription:string * 
        pszPath:string -> int
function LogEntryPath(
    actType : uint, 
    pszSource : String, 
    pszDescription : String, 
    pszPath : String
) : int

Parameters

  • pszSource
    Type: String

    [in] Pointer to a string containing the name of the package or component making the call.

  • pszDescription
    Type: String

    [in] Pointer to a string describing the event.

  • pszPath
    Type: String

    [in] A string containing a full file path to include in the event record.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsActivityLog::LogEntryPath(
   [in] ACTIVITYLOG_ENTRYTYPE actType, 
   [in] LPCOLESTR pszSource, 
   [in] LPCOLESTR pszDescription, 
   [in] LPCOLESTR pszPath
);

.NET Framework Security

See Also

Reference

IVsActivityLog Interface

Microsoft.VisualStudio.Shell.Interop Namespace