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
- type
Type: System.Void
- stream
Type: System.Object
- contentHeaders
Type: System.Type
- formatterContext
Type: System.IO.Stream
Return Value
Type: System.Threading.Tasks.Task<TResult>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.