Partage via


HttpMultipartFormDataContent.BufferAllAsync Méthode

Définition

Sérialisez httpMultipartFormDataContent en mémoire en tant qu’opération asynchrone.

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

Retours

IAsyncOperationWithProgress<UInt64,UInt64>

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

IAsyncOperationWithProgress<uint64_t,uint64_t>

Objet qui représente l’opération asynchrone.

Implémente

Attributs

Remarques

Cette opération ne se bloque pas. L’objet IAsyncOperationWithProgress(UInt64, UInt64) retourné se termine une fois que tout le contenu a été écrit en mémoire.

La classe HttpMultipartFormDataContent peut être utilisée pour diffuser du contenu de longueur arbitraire. La méthode BufferAllAsync échoue si l’ensemble de HttpMultipartFormDataContent ne peut pas tenir dans la mémoire.

S’applique à