ActivityLog.TryLogInformation(String, String) Método

Definição

Registra uma mensagem de informações no log de atividades com a origem especificada.

public:
 static bool TryLogInformation(System::String ^ source, System::String ^ message);
public:
 static bool TryLogInformation(Platform::String ^ source, Platform::String ^ message);
 static bool TryLogInformation(std::wstring const & source, std::wstring const & message);
public static bool TryLogInformation (string source, string message);
static member TryLogInformation : string * string -> bool
Public Shared Function TryLogInformation (source As String, message As String) As Boolean

Parâmetros

source
String

Um nome associado à fonte que está contribuindo com a mensagem.

message
String

A mensagem a ser gravada no log de atividades.

Retornos

Boolean

True se a operação de log tiver êxito. De outra forma, falso.

Aplica-se a