IRequestFormatHandler Interface

 

Represents the extensibility mechanism for deserializing data in additional formats. FormatManager.Current.RequestFormatHandlers contains the list of request formats supported by the web application.

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

type IRequestFormatHandler = interface end

NameDescription
System_CAPS_pubmethodCanDeserialize(ContentType)

Returns true if the handler can deserialize request's content type.

System_CAPS_pubmethodDeserialize(ControllerContext, ModelBindingContext, ContentType)

Deserialize the request body based on model binding context and return the object. Note that the URI parameters are handled by the base infrastructure.

Return to top
Show: