แก้ไข

แชร์ผ่าน


ByteArrayContent.CreateContentReadStreamAsync Method

Definition

Creates an HTTP content stream as an asynchronous operation for reading whose backing store is memory from the ByteArrayContent.

protected:
 override System::Threading::Tasks::Task<System::IO::Stream ^> ^ CreateContentReadStreamAsync();
protected override System.Threading.Tasks.Task<System.IO.Stream> CreateContentReadStreamAsync ();
override this.CreateContentReadStreamAsync : unit -> System.Threading.Tasks.Task<System.IO.Stream>
Protected Overrides Function CreateContentReadStreamAsync () As Task(Of Stream)

Returns

The task object representing the asynchronous operation.

Remarks

This operation will not block. The returned Task<TResult> object will complete after all of the content stream has been created.

Applies to