HttpContent.CopyToAsync Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Serialize the HTTP content into a stream of bytes and copies it to the stream object provided as the stream parameter.

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

NameDescription
System_CAPS_pubmethodCopyToAsync(Stream)

Serialize the HTTP content into a stream of bytes and copies it to the stream object provided as the stream parameter.

System_CAPS_pubmethodCopyToAsync(Stream, TransportContext)

Serialize the HTTP content into a stream of bytes and copies it to the stream object provided as the stream parameter.

This operation does not block.

Return to top
Show: