Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectContent::SerializeToStreamAsync Method (Stream^, TransportContext^)

 

Asynchronously serializes the object's content to the given stream.

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

protected:
virtual Task^ SerializeToStreamAsync(
	Stream^ stream,
	TransportContext^ context
) override

Parameters

stream
Type: System.IO::Stream^

The stream to write to.

context
Type: System.Net::TransportContext^

The associated TransportContext.

Return Value

Type: System.Threading.Tasks::Task^

The task object representing the asynchronous operation.

Return to top
Show: