C# 클래스 Microsoft.Phone.Controls.TransferMonitor

This class is a wrapper around BackgroundTransferRequest.
상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: Kinnara/WPToolkit 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

OnPropertyChanged() 보호된 메소드

Triggers the PropertyChanged event
protected OnPropertyChanged ( string propertyName ) : void
propertyName string The name of the property that changed
리턴 void

RequestCancel() 공개 메소드

Requests cancellation of the transfer
public RequestCancel ( ) : void
리턴 void

RequestStateChanged() 보호된 메소드

Updates the state of the helper based on the state of the request
protected RequestStateChanged ( object sender, BackgroundTransferEventArgs args ) : void
sender object The request
args BackgroundTransferEventArgs The new state of the request
리턴 void

TransferMonitor() 공개 메소드

This helper wraps around an instance of BackgroundTransferRequest
public TransferMonitor ( BackgroundTransferRequest request ) : System
request BackgroundTransferRequest The background request to display
리턴 System

TransferMonitor() 공개 메소드

This helper wraps around an instance of BackgroundTransferRequest
public TransferMonitor ( BackgroundTransferRequest request, string name ) : System
request BackgroundTransferRequest The background request to display
name string The name to display
리턴 System