C# Class Windows.Networking.BackgroundTransfer.BackgroundUploader

Inheritance: IBackgroundUploader, IBackgroundTransferBase
显示文件 Open project: shiftkey/winrt-backport-hilarity Class Usage Examples

Public Methods

Method Description
BackgroundUploader ( ) : System
CreateUpload ( [ uri, [ sourceFile ) : UploadOperation
CreateUploadFromStreamAsync ( [ uri, [ sourceStream ) : IAsyncOperation
SetRequestHeader ( [ headerName, [ headerValue ) : void

Private Methods

Method Description
CreateUploadAsync ( [ uri, [ parts ) : IAsyncOperation
CreateUploadAsync ( [ uri, [ parts, [ subType ) : IAsyncOperation
CreateUploadAsync ( [ uri, [ parts, [ subType, [ boundary ) : IAsyncOperation
GetCurrentUploadsAsync ( ) : IAsyncOperation>
GetCurrentUploadsAsync ( [ group ) : IAsyncOperation>

Method Details

BackgroundUploader() public method

public BackgroundUploader ( ) : System
return System

CreateUpload() public method

public CreateUpload ( [ uri, [ sourceFile ) : UploadOperation
uri [
sourceFile [
return UploadOperation

CreateUploadFromStreamAsync() public method

public CreateUploadFromStreamAsync ( [ uri, [ sourceStream ) : IAsyncOperation
uri [
sourceStream [
return IAsyncOperation

SetRequestHeader() public method

public SetRequestHeader ( [ headerName, [ headerValue ) : void
headerName [
headerValue [
return void