Method | Description | |
---|---|---|
RequestCancel ( ) : void |
Requests cancellation of the transfer
|
|
TransferMonitor ( BackgroundTransferRequest request ) : System |
This helper wraps around an instance of BackgroundTransferRequest
|
|
TransferMonitor ( BackgroundTransferRequest request, string name ) : System |
This helper wraps around an instance of BackgroundTransferRequest
|
Method | Description | |
---|---|---|
OnPropertyChanged ( string propertyName ) : void |
Triggers the PropertyChanged event
|
|
RequestStateChanged ( object sender, BackgroundTransferEventArgs args ) : void |
Updates the state of the helper based on the state of the request
|
Method | Description | |
---|---|---|
BytesToString ( long bytes ) : string | ||
RequestProgressChanged ( object sender, BackgroundTransferEventArgs e ) : void |
Updates the progress bar and status text when the progress updates
|
|
RequestStart ( ) : void | ||
TransferringStatusText ( ) : string |
protected OnPropertyChanged ( string propertyName ) : void | ||
propertyName | string | The name of the property that changed |
return | void |
protected RequestStateChanged ( object sender, BackgroundTransferEventArgs args ) : void | ||
sender | object | The request |
args | BackgroundTransferEventArgs | The new state of the request |
return | void |
public TransferMonitor ( BackgroundTransferRequest request ) : System | ||
request | BackgroundTransferRequest | The background request to display |
return | System |
public TransferMonitor ( BackgroundTransferRequest request, string name ) : System | ||
request | BackgroundTransferRequest | The background request to display |
name | string | The name to display |
return | System |