HttpMultipartFormDataContent.ReadAsBufferAsync Metodo

Definizione

Serializzare HttpMultipartFormDataContent in un buffer come operazione asincrona.

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

Restituisce

IAsyncOperationWithProgress<IBuffer,UInt64>

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

IAsyncOperationWithProgress<IBuffer,uint64_t>

Oggetto che rappresenta l'operazione asincrona.

Implementazioni

Attributi

Commenti

Questa operazione non verrà bloccata. Il valore IAsyncOperationWithProgress restituito (di IBuffer e intero senza segno a 64 bit) viene completato dopo che tutto il contenuto è stato scritto nel buffer.

La classe HttpMultipartFormDataContent può essere usata per trasmettere contenuto che potrebbe essere di lunghezza arbitraria. Il metodo ReadAsBufferAsync avrà esito negativo se tutti gli elementi HttpMultipartFormDataContent non possono adattarsi alla memoria perché questo metodo richiede che l'intero contenuto venga memorizzato nel buffer in memoria per primo.

Si applica a