HttpRequestContext Class


Represents the context associated with a request.

Namespace:   System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy



public class HttpRequestContext
public ref class HttpRequestContext 
type HttpRequestContext = class end
Public Class HttpRequestContext


Name Description
System_CAPS_pubmethod HttpRequestContext()

Initializes a new instance of the HttpRequestContext class.


Name Description
System_CAPS_pubproperty ClientCertificate

Gets or sets the client certificate.

System_CAPS_pubproperty Configuration

Gets or sets the configuration.

System_CAPS_pubproperty IncludeErrorDetail

Gets or sets a value indicating whether error details, such as exception messages and stack traces, should be included in the response for this request.

System_CAPS_pubproperty IsLocal

Gets or sets a value indicating whether the request originates from a local address.

System_CAPS_pubproperty Principal

.Gets or sets the principal

System_CAPS_pubproperty RouteData

Gets or sets the route data.

System_CAPS_pubproperty Url

Gets or sets the factory used to generate URLs to other APIs.

System_CAPS_pubproperty VirtualPathRoot

Gets or sets the virtual path root.


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.Controllers Namespace

Return to top