EntitySetController<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 HttpResponseMessage HandleUnmappedRequest(
    ODataPath odataPath
)
public:
[AcceptVerbsAttribute(new array<String^>^ { ... })]
virtual HttpResponseMessage^ HandleUnmappedRequest(
    ODataPath^ odataPath
)
[<AcceptVerbsAttribute([| ... |])>]
abstract HandleUnmappedRequest : 
        odataPath:ODataPath -> HttpResponseMessage
[<AcceptVerbsAttribute([| ... |])>]
override HandleUnmappedRequest : 
        odataPath:ODataPath -> HttpResponseMessage
<AcceptVerbsAttribute(New String() { ... })>
Public Overridable Function HandleUnmappedRequest (
    odataPath As ODataPath
) As HttpResponseMessage

Parameters

Return Value

Type: System.Net.Http.HttpResponseMessage

The response message to send back to the client.

See Also

EntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace

Return to top