HttpBufferContent.WriteToStreamAsync(IOutputStream) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 HttpBufferContent 作为异步操作写入输出流。
public:
virtual IAsyncOperationWithProgress<unsigned long long, unsigned long long> ^ WriteToStreamAsync(IOutputStream ^ outputStream) = WriteToStreamAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<uint64_t, uint64_t> WriteToStreamAsync(IOutputStream const& outputStream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<ulong,ulong> WriteToStreamAsync(IOutputStream outputStream);
function writeToStreamAsync(outputStream)
Public Function WriteToStreamAsync (outputStream As IOutputStream) As IAsyncOperationWithProgress(Of ULong, ULong)
参数
- outputStream
- IOutputStream
要写入到的输出流。
返回
Windows.Foundation.IAsyncOperationWithProgress<unsigned long long,unsigned long long>
IAsyncOperationWithProgress<uint64_t,uint64_t>
表示异步操作的 对象。
实现
- 属性
注解
此操作不会阻止。 返回的 IAsyncOperationWithProgress (UInt64, UInt64) 对象将在所有内容写入输出流后完成。