BackgroundUploader.CreateUploadFromStreamAsync(Uri, IInputStream) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回非同步作業,完成時會傳回具有指定 URI 和來來源資料流的 UploadOperation 。
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)
參數
- sourceStream
- IInputStream
表示來來源資料流。
傳回
產生的非同步上傳作業。
- 屬性