Share via


SqlClientLogger.LogAssert(Boolean, String, String, String) 메서드

정의

valuefalse인 경우 지정된 메시지를 기록합니다.

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

매개 변수

value
Boolean

메시지를 기록하려면 false이고, 그렇지 않으면 true입니다.

type
String

기록할 형식입니다.

method
String

로깅 메서드입니다.

message
String

기록할 메시지입니다.

반환

메시지가 기록되지 않으면 true이고, 그렇지 않으면 false입니다.

적용 대상