MockVsActivityLog.LogEntry(UInt32, String, String) 方法

定义

创建一个日志条目,指定日志类型、包名称和事件文本。

public int LogEntry (uint actType, string pszSource, string pszDescription);
abstract member LogEntry : uint32 * string * string -> int
override this.LogEntry : uint32 * string * string -> int
Public Function LogEntry (actType As UInteger, pszSource As String, pszDescription As String) As Integer

参数

actType
UInt32

[in]日志条目的类型,枚举中的 __ACTIVITYLOG_ENTRYTYPE 值。

pszSource
String

[in]指向包含进行调用的包或组件名称的字符串的指针。

pszDescription
String

[in]指向描述事件的字符串的指针。

返回

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

适用于