Compartir a través de


BackgroundUploader.CreateUploadFromStreamAsync(Uri, IInputStream) Método

Definición

Devuelve una operación asincrónica que, al finalizar, devuelve uploadOperation con el URI especificado y la secuencia de origen.

public:
 virtual IAsyncOperation<UploadOperation ^> ^ CreateUploadFromStreamAsync(Uri ^ uri, IInputStream ^ sourceStream) = CreateUploadFromStreamAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UploadOperation> CreateUploadFromStreamAsync(Uri const& uri, IInputStream const& sourceStream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UploadOperation> CreateUploadFromStreamAsync(System.Uri uri, IInputStream sourceStream);
function createUploadFromStreamAsync(uri, sourceStream)
Public Function CreateUploadFromStreamAsync (uri As Uri, sourceStream As IInputStream) As IAsyncOperation(Of UploadOperation)

Parámetros

uri
Uri Uri

URI asociado al recurso.

sourceStream
IInputStream

Representa la secuencia de origen.

Devoluciones

La operación de carga asincrónica resultante.

Atributos

Se aplica a