ErrorContext(HttpContext, Exception) Constructor
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.
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