Bagikan melalui


ActionContext.HttpContext Properti

Definisi

Mendapatkan atau mengatur HttpContext untuk permintaan saat ini.

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

Nilai Properti

Keterangan

Setter properti disediakan hanya untuk tujuan pengujian unit.

Berlaku untuk