PushStreamContent.SerializeToStreamAsync Method (Stream, TransportContext)

 

Asynchronously serializes the push content into stream.

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

[DebuggerStepThroughAttribute]
protected override Task SerializeToStreamAsync(
	Stream stream,
	TransportContext context
)

Parameters

stream
Type: System.IO.Stream

The stream where the push content will be serialized.

context
Type: System.Net.TransportContext

The context.

Return Value

Type: System.Threading.Tasks.Task

The serialized push content.

Return to top
Show: