Partager via


ErrorContext(HttpContext, Exception) Constructeur

Définition

Initialise errorContext avec les spécifiés HttpContext et 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)

Paramètres

httpContext
HttpContext
exception
Exception

S’applique à