Bewerken

Share via


SqlClientLogger.LogError(String, String, String) Method

Definition

Logs an error through a specified method of the current instance type.

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)

Parameters

type
String

The type to be logged.

method
String

The logging method.

message
String

The message to be logged.

Applies to