Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
protected override Task SerializeToStreamAsync(
Stream stream,
TransportContext context
)
protected:
virtual Task^ SerializeToStreamAsync(
Stream^ stream,
TransportContext^ context
) override
override SerializeToStreamAsync :
stream:Stream *
context:TransportContext -> Task
Protected Overrides Function SerializeToStreamAsync (
stream As Stream,
context As TransportContext
) As Task
Parameters
stream
Type: System.IO.StreamThe target stream.
context
Type: System.Net.TransportContextInformation about the transport.
Return Value
Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.
See Also
ByteRangeStreamContent Class
System.Net.Http Namespace
Return to top