ByteRangeStreamContent.SerializeToStreamAsync Method

Asynchronously serialize and write the byte range to an HTTP content stream.

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

protected override Task SerializeToStreamAsync(
	Stream stream,
	TransportContext context
)

Parameters

stream
Type: System.IO.Stream
The target stream.
context
Type: System.Net.TransportContext
Information about the transport.

Return Value

Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.
Show: