Compartir a través de


IVsActivityLog.LogEntryPath(UInt32, String, String, String) Method

Definition

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

public:
 int LogEntryPath(System::UInt32 actType, System::String ^ pszSource, System::String ^ pszDescription, System::String ^ pszPath);
public:
 int LogEntryPath(unsigned int actType, Platform::String ^ pszSource, Platform::String ^ pszDescription, Platform::String ^ pszPath);
int LogEntryPath(unsigned int actType, std::wstring const & pszSource, std::wstring const & pszDescription, std::wstring const & pszPath);
public int LogEntryPath (uint actType, string pszSource, string pszDescription, string pszPath);
abstract member LogEntryPath : uint32 * string * string * string -> int
Public Function LogEntryPath (actType As UInteger, pszSource As String, pszDescription As String, pszPath As String) As Integer

Parameters

actType
UInt32

[in] Type of log entry, a value from the __ACTIVITYLOG_ENTRYTYPE enumeration.

pszSource
String

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

pszDescription
String

[in] Pointer to a string describing the event.

pszPath
String

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

Returns

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

Remarks

This method is safe to access from any thread.

Applies to