Udostępnij przez


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

Definicja

Rejestruje określony komunikat, jeśli value ma wartość 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 w celu zarejestrowania komunikatu; w przeciwnym razie , true.

type
String

Typ do zarejestrowania.

method
String

Metoda rejestrowania.

message
String

Komunikat do zarejestrowania.

Zwraca

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

Dotyczy