IVsActivityLog.LogEntryHrPath Method (UInt32, String, String, Int32, String)

 

Makes a log entry specifying entry type, package name, event text, an HRESULT to store in the event record, 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)

int LogEntryHrPath(
	uint actType,
	string pszSource,
	string pszDescription,
	int hr,
	string pszPath
)

Parameters

actType
Type: System.UInt32

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

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.

hr
Type: System.Int32

[in] An HRESULT to include in the event record.

pszPath
Type: System.String

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

Return Value

Type: System.Int32

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

From vsshell80.idl:

HRESULT IVsActivityLog::LogEntryHrPath(
   [in] ACTIVITYLOG_ENTRYTYPE actType, 
   [in] LPCOLESTR pszSource, 
   [in] LPCOLESTR pszDescription, 
   [in] HRESULT hr, 
   [in] LPCOLESTR pszPath
);
Return to top
Show: