System.Web.TraceContextRecord.ErrorInfo Property

Gets the Exception associated with the trace record, if one is available.

Syntax

public Exception ErrorInfo { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can include an exception in a trace record if you are using tracing to debug an application or troubleshoot error and exception handling. The TraceContextRecord.ErrorInfo property is null when the trace record is associated with one of the System.Web.TraceContext methods that does not have an explicit errorInfo parameter or no exception is provided.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0