语言

IHttpEntityExtensions.WriteToAsync(IHttpEntity, Stream) 方法

定义

在线程池线程上运行实体的流写入操作。

public static System.Threading.Tasks.Task WriteToAsync(this Org.Apache.Http.IHttpEntity self, System.IO.Stream? outstream);
static member WriteToAsync : Org.Apache.Http.IHttpEntity * System.IO.Stream -> System.Threading.Tasks.Task

参数

self
IHttpEntity

写入其内容的 HTTP 实体。

outstream
Stream

实体内容字节的目标流。

返回

完成时 WriteTo(Stream) 完成的任务。

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于