Partager via


ApiController.Request Property

 

Gets or sets the HttpRequestMessage of the current ApiController.

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

Syntax

public HttpRequestMessage Request { get; set; }
public:
property HttpRequestMessage^ Request {
    HttpRequestMessage^ get();
    void set(HttpRequestMessage^ value);
}
member Request : HttpRequestMessage with get, set
Public Property Request As HttpRequestMessage

Property Value

Type: System.Net.Http.HttpRequestMessage

The HttpRequestMessage of the current ApiController.

See Also

ApiController Class
System.Web.Http Namespace

Return to top