SqlClientLogger.LogAssert(Boolean, String, String, String) Metódus

Definíció

Naplózza a megadott üzenetet, ha value az .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

Paraméterek

value
Boolean

falseaz üzenet naplózása; egyéb esetben. true

type
String

A naplózandó típus.

method
String

A naplózási módszer.

message
String

A naplózni kívánt üzenet.

Válaszok

trueha az üzenet nincs naplózva; egyéb esetben. false

A következőre érvényes: