Freigeben über


HttpControllerContext.Configuration Property

Gets or sets the configuration.

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

Syntax

'Declaration
Public Property Configuration As HttpConfiguration
    Get
    Set
'Usage
Dim instance As HttpControllerContext
Dim value As HttpConfiguration

value = instance.Configuration

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

Property Value

Type: System.Web.Http.HttpConfiguration
The configuration.

See Also

Reference

HttpControllerContext Class

System.Web.Http.Controllers Namespace