Compartilhar via


BackgroundUploader.CreateUploadFromStreamAsync(Uri, IInputStream) Método

Definição

Retorna uma operação assíncrona que, após a conclusão, retorna uma UploadOperation com o URI especificado e o fluxo de origem.

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

O URI associado ao recurso.

sourceStream
IInputStream

Representa o fluxo de origem.

Retornos

A operação de upload assíncrona resultante.

Atributos

Aplica-se a