HttpRequestMessageExtensions Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides extension methods for the HttpRequestMessage class.

Inheritance Hierarchy

System.Object
  System.Web.Http.HttpRequestMessageExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HttpRequestMessageExtensions
public static class HttpRequestMessageExtensions
[ExtensionAttribute]
public ref class HttpRequestMessageExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type HttpRequestMessageExtensions =  class end
public final class HttpRequestMessageExtensions

The HttpRequestMessageExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetConfiguration Retrieves the HttpConfiguration for the given request.
Public methodStatic member GetRouteData Retrieves the IHttpRouteData for the given request or null if not available.
Public methodStatic member GetSynchronizationContext Retrieves the SynchronizationContext for the given request or null if not available.
Public methodStatic member GetUserPrincipal Retrieves the IPrincipal for the given request or null if not available.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http Namespace