MockVsActivityLogXunitAdapter.LogEntryPath Méthode

Définition

Indique à une entrée de journal de spécifier le type d'entrée, le nom du package, le texte de l'événement et un chemin d'accès complet à stocker dans l'enregistrement de l'événement.

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

Paramètres

actType
UInt32

[in] Type d'entrée de journal, valeur de l'énumération __ACTIVITYLOG_ENTRYTYPE.

pszSource
String

[in] Pointeur vers une chaîne contenant le nom du package ou du composant qui effectue l'appel.

pszDescription
String

[in] Pointeur vers une chaîne décrivant l'événement.

pszPath
String

[in] Chaîne contenant un chemin d'accès au fichier complet à inclure dans l'enregistrement de l'événement.

Retours

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Implémente

S’applique à