AsyncEntitySetController<TEntity, TKey>.HandleUnmappedRequest Method (ODataPath)
This method should be overridden to handle all unmapped OData requests.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
[AcceptVerbsAttribute(new string[] { ... })]
public virtual Task<HttpResponseMessage> HandleUnmappedRequest(
ODataPath odataPath
)
public:
[AcceptVerbsAttribute(new array<String^>^ { ... })]
virtual Task<HttpResponseMessage^>^ HandleUnmappedRequest(
ODataPath^ odataPath
)
[<AcceptVerbsAttribute([| ... |])>]
abstract HandleUnmappedRequest :
odataPath:ODataPath -> Task<HttpResponseMessage>
[<AcceptVerbsAttribute([| ... |])>]
override HandleUnmappedRequest :
odataPath:ODataPath -> Task<HttpResponseMessage>
<AcceptVerbsAttribute(New String() { ... })>
Public Overridable Function HandleUnmappedRequest (
odataPath As ODataPath
) As Task(Of HttpResponseMessage)
Parameters
odataPath
Type: System.Web.Http.OData.Routing.ODataPathThe OData path of the request.
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
A Task that contains the response message to send back to the client when it completes.
See Also
AsyncEntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace
Return to top