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

Definición

Registra el mensaje especificado si value es 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 el mensaje; de lo contrario, true.

type
String

Tipo que se va a registrar.

method
String

Método de registro.

message
String

Mensaje que se va a registrar.

Devoluciones

true si el mensaje no se registra; de lo contrario, false.

Se aplica a