Langue

SqlClientLogger.LogError(String, String, String) Méthode

Définition

Enregistre une erreur par le biais d’une méthode spécifiée du type d’instance actuel.

Pour le nouveau développement, utilisez Microsoft. Data.SqlClient. Cette page documente System.Data.SqlClient.

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)

Paramètres

type
String

Type à journaliser.

method
String

Méthode de journalisation.

message
String

Message à enregistrer.

S’applique à