Table of Contents

Class UnmappedRequestRoutingConvention

Namespace
System.Web.Http.OData.Routing.Conventions
Assembly
System.Web.Http.OData.dll

An implementation of IODataRoutingConvention that always selects the action named HandleUnmappedRequest if that action is present.

public class UnmappedRequestRoutingConvention : EntitySetRoutingConvention, IODataRoutingConvention
Inheritance
UnmappedRequestRoutingConvention
Implements
Inherited Members

Constructors

UnmappedRequestRoutingConvention()

public UnmappedRequestRoutingConvention()

Methods

SelectAction(ODataPath, HttpControllerContext, ILookup<string, HttpActionDescriptor>)

Selects the action.

public override string SelectAction(ODataPath odataPath, HttpControllerContext controllerContext, ILookup<string, HttpActionDescriptor> actionMap)

Parameters

odataPath ODataPath

The OData path.

controllerContext HttpControllerContext

The controller context.

actionMap ILookup<string, HttpActionDescriptor>

The action map.

Returns

string