MvcHandler.AddVersionHeader Method
Adds the version header by using the specified HTTP context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Friend Overridable Sub AddVersionHeader ( _
httpContext As HttpContextBase _
)
protected internal virtual void AddVersionHeader(
HttpContextBase httpContext
)
protected public:
virtual void AddVersionHeader(
HttpContextBase^ httpContext
)
Parameters
- httpContext
Type: System.Web.HttpContextBase
The HTTP context.