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

Definition

Protokolliert die angegebene Meldung, wenn valuefalse ist.

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

Parameter

value
Boolean

false zum Protokollieren der Meldung, andernfalls true.

type
String

Der zu protokollierende Typ.

method
String

Die Protokollierungsmethode.

message
String

Die zu protokollierende Meldung.

Gibt zurück

true, wenn die Nachricht nicht protokolliert wird, andernfalls false.

Gilt für: