SqlClientLogger.LogAssert(Boolean, String, String, String) Método

Definição

Registra a mensagem especificada se value for false.

public:
 bool LogAssert(bool value, System::String ^ type, System::String ^ method, System::String ^ message);
public bool LogAssert(bool value, string type, string method, string message);
member this.LogAssert : bool * string * string * string -> bool
Public Function LogAssert (value As Boolean, type As String, method As String, message As String) As Boolean

Parâmetros

value
Boolean

false para registrar a mensagem em log; caso contrário, true.

type
String

O tipo a ser registrado.

method
String

O método de registro em log.

message
String

A mensagem a ser registrada.

Retornos

true se a mensagem não estiver registrada; caso contrário, false.

Aplica-se a