Partager via


HttpControllerContext.Request Property

Gets or sets the request.

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

Syntax

'Declaration
Public Property Request As HttpRequestMessage
    Get
    Set
'Usage
Dim instance As HttpControllerContext
Dim value As HttpRequestMessage

value = instance.Request

instance.Request = value
public HttpRequestMessage Request { get; set; }
public:
property HttpRequestMessage^ Request {
    HttpRequestMessage^ get ();
    void set (HttpRequestMessage^ value);
}
member Request : HttpRequestMessage with get, set
function get Request () : HttpRequestMessage
function set Request (value : HttpRequestMessage)

Property Value

Type: HttpRequestMessage
The request.

See Also

Reference

HttpControllerContext Class

System.Web.Http.Controllers Namespace