HttpContent::LoadIntoBufferAsync Method ()

.NET Framework (current version)
 

Serialize the HTTP content to a memory buffer as an asynchronous operation.

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

public:
Task^ LoadIntoBufferAsync()

Return Value

Type: System.Threading.Tasks::Task^

The task object representing the asynchronous operation.

This operation will not block. The returned Task object will complete after all of the content has been serialized to the memory buffer.

After content is serialized to a memory buffer, calls to one of the CopyToAsync methods will copy the content of the memory buffer to the target stream.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: