IFormatterLogger.LogError Method (String, Exception)

Logs an error.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Sub LogError ( _
    errorPath As String, _
    exception As Exception _
)
'Usage
Dim instance As IFormatterLogger 
Dim errorPath As String 
Dim exception As Exception

instance.LogError(errorPath, exception)
void LogError(
    string errorPath,
    Exception exception
)
void LogError(
    String^ errorPath, 
    Exception^ exception
)
abstract LogError : 
        errorPath:string * 
        exception:Exception -> unit
function LogError(
    errorPath : String, 
    exception : Exception
)

Parameters

  • errorPath
    Type: System.String

    The path to the member for which the error is being logged.

See Also

Reference

IFormatterLogger Interface

LogError Overload

System.Net.Http.Formatting Namespace