Share via


BackgroundUploader.CreateUploadFromStreamAsync(Uri, IInputStream) Method

Definition

Returns an asynchronous operation that, on completion, returns an UploadOperation with the specified URI and the source stream.

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)

Parameters

uri
Uri Uri

The URI associated with the resource.

sourceStream
IInputStream

Represents the source stream.

Returns

The resultant asynchronous upload operation.

Attributes

Applies to