Редагувати

Поділитися через


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

Definition

Logs the specified message if value is 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

Parameters

value
Boolean

false to log the message; otherwise, true.

type
String

The type to be logged.

method
String

The logging method.

message
String

The message to be logged.

Returns

true if the message is not logged; otherwise, false.

Applies to