SqlClientLogger.LogAssert(Boolean, String, String, String) 方法

定義

value 為 , 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

參數

value
Boolean

false記錄訊息;否則,。 true

type
String

要記錄的類型。

method
String

記錄方法。

message
String

訊息要記錄。

傳回

true如果訊息未被記錄;否則,。 false

適用於