共用方式為


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。 如果方法失敗,則會傳回錯誤碼。

實作

適用於