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

Definicja

Rejestruje określony komunikat, jeśli value wartość to 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

Parametry

value
Boolean

false aby rejestrować komunikat; w przeciwnym razie true .

type
String

Typ, który ma być rejestrowany.

method
String

Metoda rejestrowania.

message
String

Komunikat do zalogowania.

Zwraca

Boolean

true jeśli komunikat nie jest rejestrowany; w przeciwnym razie false .

Dotyczy