BackgroundUploader.CreateUploadFromStreamAsync(Uri, IInputStream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- sourceStream
- IInputStream
Represents the source stream.
Returns
The resultant asynchronous upload operation.
- Attributes