MediaTypeFormatter.OnReadFromStreamAsync Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Protected Overridable Function OnReadFromStreamAsync ( _
    type As Void, _
    stream As Object, _
    contentHeaders As Type, _
    formatterContext As Stream _
) As Task
protected virtual Task OnReadFromStreamAsync(
    void type,
    Object stream,
    Type contentHeaders,
    Stream formatterContext
)
protected:
virtual Task^ OnReadFromStreamAsync(
    void type, 
    Object^ stream, 
    Type^ contentHeaders, 
    Stream^ formatterContext
)
abstract OnReadFromStreamAsync : 
        type:unit * 
        stream:Object * 
        contentHeaders:Type * 
        formatterContext:Stream -> Task 
override OnReadFromStreamAsync : 
        type:unit * 
        stream:Object * 
        contentHeaders:Type * 
        formatterContext:Stream -> Task 
protected function OnReadFromStreamAsync(
    type : Void, 
    stream : Object, 
    contentHeaders : Type, 
    formatterContext : Stream
) : Task

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

MediaTypeFormatter Class

System.Net.Http.Formatting Namespace