SqlClientLogger.LogAssert(Boolean, String, String, String) Método
Definição
Registra em log a mensagem especificada se value é false.Logs the specified message if value is 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.false to log the message; otherwise, true.
- type
- String
O tipo a ser registrado em log.The type to be logged.
- method
- String
O método de registro em log.The logging method.
- message
- String
A mensagem a ser registrada em log.The message to be logged.
Retornos
true se a mensagem não é registrada em log; caso contrário, false.true if the message is not logged; otherwise, false.