IVsActivityLog::LogEntryGuidHr Method (UInt32, String^, String^, Guid, Int32)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int LogEntryGuidHr( unsigned int actType, String^ pszSource, String^ pszDescription, Guid guid, int hr )
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.
- guid
-
Type:
System::Guid
[in] A GUID to include in the event record.
- hr
-
Type:
System::Int32
[in] An HRESULT to include in the event record.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsActivityLog::LogEntryGuidHr( [in] ACTIVITYLOG_ENTRYTYPE actType, [in] LPCOLESTR pszSource, [in] LPCOLESTR pszDescription, [in] GUID guid, [in] HRESULT hr );
Show: