|
|
public sealed class BackgroundDownloader
|
|
|
: __ComObject, IBackgroundDownloader, IBackgroundTransferBase
|
|
|
static public GetCurrentDownloadsOperation GetCurrentDownloadsAsync();
|
|
|
public virtual void SetCostPolicy(BackgroundTransferCostPolicy value);
|
|
|
public virtual void SetMethod(String value);
|
|
|
public virtual void SetProxyCredential(IPasswordCredential credential);
|
|
|
public virtual void SetRequestBodyFile(IStorageFile value);
|
|
|
public virtual SetStreamOperation SetRequestBodyStreamAsync(IInputStream sourceStream);
|
|
|
public virtual void SetRequestHeader(String headerName, String headerValue);
|
|
|
public virtual void SetServerCredential(IPasswordCredential credential);
|
|
|
public virtual DownloadOperation StartDownloadAsync(Uri uri, IStorageFile resultFile);
|
|
|
public sealed class BackgroundUploader
|
|
|
: __ComObject, IBackgroundUploader, IBackgroundTransferBase
|
|
|
static public GetCurrentUploadsOperation GetCurrentUploadsAsync();
|
|
|
public virtual void SetCostPolicy(BackgroundTransferCostPolicy value);
|
|
|
public virtual void SetMethod(String value);
|
|
|
public virtual void SetProxyCredential(IPasswordCredential credential);
|
|
|
public virtual void SetRequestHeader(String headerName, String headerValue);
|
|
|
public virtual void SetServerCredential(IPasswordCredential credential);
|
|
|
public virtual void SetSourceFile(IStorageFile value);
|
|
|
public virtual SetStreamOperation SetSourceStreamAsync(IInputStream sourceStream);
|
|
|
public virtual UploadOperation StartUploadAsync(Uri uri);
|
|
|
public virtual UploadOperation StartUploadAsync(Uri uri, IStorageFile sourceFile);
|
|
|
public sealed class DownloadOperation
|
|
|
: __ComObject, IAsyncActionWithProgress`1<BackgroundDownloadProgress>, IAsyncInfo, IDownloadOperation, IBackgroundTransferOperation
|
|
|
public virtual AsyncActionWithProgressCompletedHandler`1<BackgroundDownloadProgress> Completed { get; set; }
|
|
|
public virtual BackgroundTransferCostPolicy CostPolicy { get; set; }
|
|
|
public virtual Exception ErrorCode { get; }
|
|
|
public virtual Guid Guid { get; }
|
|
|
public virtual UInt32 Id { get; }
|
|
|
public virtual String Method { get; }
|
|
|
public virtual AsyncActionProgressHandler`1<BackgroundDownloadProgress> Progress { get; set; }
|
|
|
public virtual BackgroundDownloadProgress ProgressStatus { get; }
|
|
|
public virtual Uri RequestedUri { get; }
|
|
|
public virtual IStorageFile ResultFile { get; }
|
|
|
public virtual AsyncStatus Status { get; }
|
|
|
public virtual void Cancel();
|
|
|
public virtual void Close();
|
|
|
public virtual ResponseInformation GetResponseInformation();
|
|
|
public virtual void GetResults();
|
|
|
public virtual IInputStream GetResultStreamAt(UInt64 position);
|
|
|
public virtual void Pause();
|
|
|
public virtual void Resume();
|
|
|
public virtual void Start();
|
|
|
public sealed class GetCurrentDownloadsOperation
|
|
|
: __ComObject, IAsyncOperation`1<IReadOnlyList`1<DownloadOperation>>, IAsyncInfo
|
|
|
public virtual AsyncOperationCompletedHandler`1<IReadOnlyList`1<DownloadOperation>> Completed { get; set; }
|
|
|
public virtual Exception ErrorCode { get; }
|
|
|
public virtual UInt32 Id { get; }
|
|
|
public virtual AsyncStatus Status { get; }
|
|
|
public virtual void Cancel();
|
|
|
public virtual void Close();
|
|
|
public virtual IReadOnlyList`1<DownloadOperation> GetResults();
|
|
|
public virtual void Start();
|
|
|
public sealed class GetCurrentUploadsOperation
|
|
|
: __ComObject, IAsyncOperation`1<IReadOnlyList`1<UploadOperation>>, IAsyncInfo
|
|
|
public virtual AsyncOperationCompletedHandler`1<IReadOnlyList`1<UploadOperation>> Completed { get; set; }
|
|
|
public virtual Exception ErrorCode { get; }
|
|
|
public virtual UInt32 Id { get; }
|
|
|
public virtual AsyncStatus Status { get; }
|
|
|
public virtual void Cancel();
|
|
|
public virtual void Close();
|
|
|
public virtual IReadOnlyList`1<UploadOperation> GetResults();
|
|
|
public virtual void Start();
|
|
|
public sealed class SetStreamOperation
|
|
|
: __ComObject, IAsyncAction, IAsyncInfo
|
|
|
public virtual AsyncActionCompletedHandler Completed { get; set; }
|
|
|
public virtual Exception ErrorCode { get; }
|
|
|
public virtual UInt32 Id { get; }
|
|
|
public virtual AsyncStatus Status { get; }
|
|
|
public virtual void Cancel();
|
|
|
public virtual void Close();
|
|
|
public virtual void GetResults();
|
|
|
public virtual void Start();
|
|
|
public sealed class UploadOperation
|
|
|
: __ComObject, IAsyncActionWithProgress`1<BackgroundUploadProgress>, IAsyncInfo, IUploadOperation, IBackgroundTransferOperation
|
|
|
public virtual AsyncActionWithProgressCompletedHandler`1<BackgroundUploadProgress> Completed { get; set; }
|
|
|
public virtual BackgroundTransferCostPolicy CostPolicy { get; set; }
|
|
|
public virtual Exception ErrorCode { get; }
|
|
|
public virtual Guid Guid { get; }
|
|
|
public virtual UInt32 Id { get; }
|
|
|
public virtual String Method { get; }
|
|
|
public virtual AsyncActionProgressHandler`1<BackgroundUploadProgress> Progress { get; set; }
|
|
|
public virtual BackgroundUploadProgress ProgressStatus { get; }
|
|
|
public virtual Uri RequestedUri { get; }
|
|
|
public virtual IStorageFile SourceFile { get; }
|
|
|
public virtual AsyncStatus Status { get; }
|
|
|
public virtual void Cancel();
|
|
|
public virtual void Close();
|
|
|
public virtual ResponseInformation GetResponseInformation();
|
|
|
public virtual void GetResults();
|
|
|
public virtual IInputStream GetResultStreamAt(UInt64 position);
|
|
|
public virtual void Start();
|