HttpStringContent.WriteToStreamAsync(IOutputStream) 方法

定义

HttpStringContent 作为异步操作写入输出流。

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

要写入到的输出流。

返回

IAsyncOperationWithProgress<UInt64,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<unsigned long long,unsigned long long>

IAsyncOperationWithProgress<uint64_t,uint64_t>

表示异步操作的 对象。

实现

属性

注解

此操作不会阻止。 返回的 IAsyncOperationWithProgress (UInt64,UInt64) 对象将在所有内容写入输出流后完成。

适用于