Share via


ErrorContext(HttpContext, Exception) Constructor

Definition

Initializes the ErrorContext with the specified HttpContext and Exception.

public:
 ErrorContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Exception ^ exception);
public ErrorContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Exception exception);
new Microsoft.AspNetCore.Diagnostics.ErrorContext : Microsoft.AspNetCore.Http.HttpContext * Exception -> Microsoft.AspNetCore.Diagnostics.ErrorContext
Public Sub New (httpContext As HttpContext, exception As Exception)

Parameters

httpContext
HttpContext
exception
Exception

Applies to