HttpStreamContent.ReadAsInputStreamAsync 方法

定义

序列化 HttpStreamContent 并返回将内容表示为异步操作的输入流。

public:
 virtual IAsyncOperationWithProgress<IInputStream ^, unsigned long long> ^ ReadAsInputStreamAsync() = ReadAsInputStreamAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<IInputStream, uint64_t> ReadAsInputStreamAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<IInputStream,ulong> ReadAsInputStreamAsync();
function readAsInputStreamAsync()
Public Function ReadAsInputStreamAsync () As IAsyncOperationWithProgress(Of IInputStream, ULong)

返回

IAsyncOperationWithProgress<IInputStream,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<Windows.Storage.Streams.IInputStream,unsigned long long>

IAsyncOperationWithProgress<IInputStream,uint64_t>

表示异步操作的 对象。

实现

属性

注解

此操作不会阻止。 返回的 IAsyncOperationWithProgress (IInputStream 和无符号 64 位整数) 完成后,所有内容都写入流。

适用于