Méthode | 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
|
Méthode | 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
|
Méthode | 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 |
Résultat | void |
protected RequestStateChanged ( object sender, BackgroundTransferEventArgs args ) : void | ||
sender | object | The request |
args | BackgroundTransferEventArgs | The new state of the request |
Résultat | void |
public TransferMonitor ( BackgroundTransferRequest request ) : System | ||
request | BackgroundTransferRequest | The background request to display |
Résultat | System |
public TransferMonitor ( BackgroundTransferRequest request, string name ) : System | ||
request | BackgroundTransferRequest | The background request to display |
name | string | The name to display |
Résultat | System |