ErrorContext 类

定义

提供有关 DeveloperExceptionPageMiddleware 当前正在处理的错误的上下文。

public ref class ErrorContext
public class ErrorContext
type ErrorContext = class
Public Class ErrorContext
继承
ErrorContext

构造函数

ErrorContext(HttpContext, Exception)

使用指定的 HttpContextException初始化 ErrorContext。

属性

Exception

Exception 请求处理期间引发的 。

HttpContext

HttpContext

适用于