IRequestFormatHandler.Deserialize Method (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.
Namespace: Microsoft.Web.Mvc.Resources
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
object Deserialize(
ControllerContext controllerContext,
ModelBindingContext bindingContext,
ContentType requestFormat
)
Object^ Deserialize(
ControllerContext^ controllerContext,
ModelBindingContext^ bindingContext,
ContentType^ requestFormat
)
abstract Deserialize :
controllerContext:ControllerContext *
bindingContext:ModelBindingContext *
requestFormat:ContentType -> Object
Function Deserialize (
controllerContext As ControllerContext,
bindingContext As ModelBindingContext,
requestFormat As ContentType
) As Object
Parameters
controllerContext
Type: System.Web.Mvc.ControllerContextThe controller context.
bindingContext
Type: System.Web.Mvc.ModelBindingContextThe binding context.
requestFormat
Type: System.Net.Mime.ContentTypeThe request format.
Return Value
Type: System.Object
The request body based on model binding context and returns the object to deserialize.
See Also
IRequestFormatHandler Interface
Microsoft.Web.Mvc.Resources Namespace
Return to top