HttpRequest.RequestContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the RequestContext instance of the current request.
public:
property System::Web::Routing::RequestContext ^ RequestContext { System::Web::Routing::RequestContext ^ get(); };
public:
property System::Web::Routing::RequestContext ^ RequestContext { System::Web::Routing::RequestContext ^ get(); void set(System::Web::Routing::RequestContext ^ value); };
public System.Web.Routing.RequestContext RequestContext { get; }
public System.Web.Routing.RequestContext RequestContext { get; set; }
member this.RequestContext : System.Web.Routing.RequestContext
member this.RequestContext : System.Web.Routing.RequestContext with get, set
Public ReadOnly Property RequestContext As RequestContext
Public Property RequestContext As RequestContext
Property Value
The RequestContext instance of the current request. For non-routed requests, the RequestContext object that is returned is empty.
Remarks
This property provides access to the RouteData object for the current request. For more information about ASP.NET routing, see.ASP.NET Routing.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา