SqlClientLogger.LogError(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.