Share via


EntitySetController<TEntity, TKey>.HandleUnmappedRequest Method

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

'Declaration
<AcceptVerbsAttribute()> _
Public Overridable Function HandleUnmappedRequest ( _
    odataPath As ODataPath _
) As HttpResponseMessage
'Usage
Dim instance As EntitySetController 
Dim odataPath As ODataPath 
Dim returnValue As HttpResponseMessage 

returnValue = instance.HandleUnmappedRequest(odataPath)
[AcceptVerbsAttribute()]
public virtual HttpResponseMessage HandleUnmappedRequest(
    ODataPath odataPath
)
[AcceptVerbsAttribute()]
public:
virtual HttpResponseMessage^ HandleUnmappedRequest(
    ODataPath^ odataPath
)
[<AcceptVerbsAttribute()>]
abstract HandleUnmappedRequest : 
        odataPath:ODataPath -> HttpResponseMessage 
[<AcceptVerbsAttribute()>]
override HandleUnmappedRequest : 
        odataPath:ODataPath -> HttpResponseMessage
public function HandleUnmappedRequest(
    odataPath : ODataPath
) : HttpResponseMessage

Parameters

Return Value

Type: System.Net.Http.HttpResponseMessage
The response message to send back to the client.

See Also

Reference

EntitySetController<TEntity, TKey> Class

System.Web.Http.OData Namespace