HttpRequestBase.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.
When overridden in a derived class, gets the RequestContext instance of the current request.
public:
virtual property System::Web::Routing::RequestContext ^ RequestContext { System::Web::Routing::RequestContext ^ get(); };
public:
virtual property System::Web::Routing::RequestContext ^ RequestContext { System::Web::Routing::RequestContext ^ get(); void set(System::Web::Routing::RequestContext ^ value); };
public virtual System.Web.Routing.RequestContext RequestContext { get; }
public virtual 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 Overridable ReadOnly Property RequestContext As RequestContext
Public Overridable 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.
Exceptions
Always.
Remarks
This property provides access to the RouteData object for the current request.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.