Language

SqlClientLogger.LogAssert(Boolean, String, String, String) メソッド

定義

valueがfalseされている場合は、指定されたメッセージをログに記録します。

新しい開発では、Microsoftを使用します。Data.SqlClient。 このページでは、System.Data.SqlClient について説明します。

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。

適用対象