IVsActivityLog.LogEntryGuidHr(UInt32, String, String, Guid, Int32) Method

Definition

Makes a log entry specifying entry type, package name, event text, a GUID to store in the event record, and an HRESULT to store in the event record.

public:
 int LogEntryGuidHr(System::UInt32 actType, System::String ^ pszSource, System::String ^ pszDescription, Guid guid, int hr);
public int LogEntryGuidHr (uint actType, string pszSource, string pszDescription, Guid guid, int hr);
abstract member LogEntryGuidHr : uint32 * string * string * Guid * int -> int
Public Function LogEntryGuidHr (actType As UInteger, pszSource As String, pszDescription As String, guid As Guid, hr As Integer) 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.

guid
Guid

[in] A GUID to include in the event record.

hr
Int32

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

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsActivityLog::LogEntryGuidHr(  
   [in] ACTIVITYLOG_ENTRYTYPE actType,   
   [in] LPCOLESTR pszSource,   
   [in] LPCOLESTR pszDescription,   
   [in] GUID guid,   
   [in] HRESULT hr  
);  

Applies to