Share via


ODataMediaTypeFormatter.ReadFromStreamAsync Method

 

Namespace:   System.Web.Http.OData.Formatter
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger)

(Overrides MediaTypeFormatter.ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger).)

System_CAPS_pubmethod ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger, CancellationToken)

Asynchronously deserializes an object of the specified type.(Inherited from MediaTypeFormatter.)

See Also

ODataMediaTypeFormatter Class
System.Web.Http.OData.Formatter Namespace

Return to top

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

Syntax

public override Task<object> ReadFromStreamAsync(
    Type type,
    Stream readStream,
    HttpContent content,
    IFormatterLogger formatterLogger
)
public:
virtual Task<Object^>^ ReadFromStreamAsync(
    Type^ type,
    Stream^ readStream,
    HttpContent^ content,
    IFormatterLogger^ formatterLogger
) override
override ReadFromStreamAsync : 
        type:Type *
        readStream:Stream *
        content:HttpContent *
        formatterLogger:IFormatterLogger -> Task<Object>
Public Overrides Function ReadFromStreamAsync (
    type As Type,
    readStream As Stream,
    content As HttpContent,
    formatterLogger As IFormatterLogger
) As Task(Of Object)

Parameters

Return Value

Type: System.Threading.Tasks.Task<Object>

Return to top