ActionContext.HttpContext Property

Definition

Gets or sets the HttpContext for the current request.

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; }
member this.HttpContext : Microsoft.AspNetCore.Http.HttpContext with get, set
Public Property HttpContext As HttpContext

Property Value

HttpContext

Remarks

The property setter is provided for unit test purposes only.

Applies to