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

Definição

Regista 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 registar a mensagem; caso contrário, true.

type
String

Do tipo que deve ser registado.

method
String

O método de registo.

message
String

A mensagem a registar.

Devoluções

true se a mensagem não for registada; caso contrário, false.

Aplica-se a