Share via


MockVsActivityLogXunitAdapter.LogEntryGuid Method

Definition

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

public int LogEntryGuid (uint actType, string pszSource, string pszDescription, Guid guid);
abstract member LogEntryGuid : uint32 * string * string * Guid -> int
override this.LogEntryGuid : uint32 * string * string * Guid -> int
Public Function LogEntryGuid (actType As UInteger, pszSource As String, pszDescription As String, guid As Guid) 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.

Returns

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

Implements

Applies to