Export (0) Print
Expand All

JQueryMvcFormUrlEncodedFormatter.ReadFromStreamAsync Method (Type, Stream, HttpContent, IFormatterLogger)

Reads an object of the specified type from the specified stream. This method is called during deserialization.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

public override Task<Object> ReadFromStreamAsync(
	Type type,
	Stream readStream,
	HttpContent content,
	IFormatterLogger formatterLogger
)

Parameters

type
Type: System.Type
The type of object to read.
readStream
Type: System.IO.Stream
The Stream from which to read.
content
Type: HttpContent
The content being read.
formatterLogger
Type: System.Net.Http.Formatting.IFormatterLogger
The IFormatterLogger to log events to.

Return Value

Type: System.Threading.Tasks.Task<Object>
A Task whose result will be the object instance that has been read.
Show:
© 2014 Microsoft