Dela via


RequestContent.WriteToAsync(Stream, CancellationToken) Method

Definition

Writes contents of this object to an instance of Stream.

public abstract System.Threading.Tasks.Task WriteToAsync (System.IO.Stream stream, System.Threading.CancellationToken cancellation);
abstract member WriteToAsync : System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function WriteToAsync (stream As Stream, cancellation As CancellationToken) As Task

Parameters

stream
Stream

The stream to write to.

cancellation
CancellationToken

To cancellation token to use.

Returns

Applies to