Partager via


HttpContextAccessor.HttpContext Propriété

Définition

Obtient ou définit le actuel HttpContext. Retourne null s’il n’y a pas d’actif HttpContext.

public:
 property Microsoft::AspNetCore::Http::HttpContext ^ HttpContext { Microsoft::AspNetCore::Http::HttpContext ^ get(); void set(Microsoft::AspNetCore::Http::HttpContext ^ value); };
public Microsoft.AspNetCore.Http.HttpContext HttpContext { get; set; }
public Microsoft.AspNetCore.Http.HttpContext? HttpContext { get; set; }
member this.HttpContext : Microsoft.AspNetCore.Http.HttpContext with get, set
Public Property HttpContext As HttpContext

Valeur de propriété

Implémente

S’applique à