Udostępnij za pośrednictwem


Controller.Server Property

Gets the HttpServerUtilityBase object that provides methods that are used during Web request processing.

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

Syntax

'Declaration
Public ReadOnly Property Server As HttpServerUtilityBase
    Get
public HttpServerUtilityBase Server { get; }
public:
property HttpServerUtilityBase^ Server {
    HttpServerUtilityBase^ get ();
}

Property Value

Type: System.Web.HttpServerUtilityBase
The HTTP server object.

See Also

Reference

Controller Class

System.Web.Mvc Namespace