Share via


SqlClientLogger.LogError(String, String, String) 方法

定義

透過目前執行個體類型的指定方法記錄錯誤。

public:
 void LogError(System::String ^ type, System::String ^ method, System::String ^ message);
public void LogError (string type, string method, string message);
member this.LogError : string * string * string -> unit
Public Sub LogError (type As String, method As String, message As String)

參數

type
String

要記錄的類型。

method
String

記錄方法。

message
String

要記錄的訊息。

適用於