共用方式為


ControllerBase.HttpContext 屬性

定義

HttpContext取得執行動作的 。

public:
 property Microsoft::AspNetCore::Http::HttpContext ^ HttpContext { Microsoft::AspNetCore::Http::HttpContext ^ get(); };
public Microsoft.AspNetCore.Http.HttpContext HttpContext { get; }
member this.HttpContext : Microsoft.AspNetCore.Http.HttpContext
Public ReadOnly Property HttpContext As HttpContext

屬性值

適用於