Share via


SqlClientLogger.LogAssert(Boolean, String, String, String) Metodo

Definizione

Registra il messaggio specificato se value è 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

Parametri

value
Boolean

false per registrare il messaggio; in caso contrario, true.

type
String

Tipo da registrare.

method
String

Metodo di registrazione.

message
String

Messaggio da registrare.

Restituisce

true se il messaggio non viene registrato; in caso contrario, false.

Si applica a