C# 클래스 WP8.Async.Helpers.WebClientExtensions

파일 보기 프로젝트 열기: tpetrina/wp8-helpers

공개 메소드들

메소드 설명
DownloadStringTaskAsync ( this webClient, Uri address ) : Task

Asynchronously downloads the resource as a String from the URI specified.

DownloadStringTaskAsync ( this webClient, Uri address, CancellationToken token ) : Task

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests.

DownloadStringTaskAsync ( this webClient, Uri address, CancellationToken token, IProgress progress ) : Task

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests, and reports progress.

DownloadStringTaskAsync ( this webClient, Uri address, IProgress progress ) : Task

Asynchronously downloads the resource as a String from the URI specified, and reports progress.

DownloadStringTaskAsync ( this webClient, Uri address, object userToken ) : object>>.Task

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests, and reports progress.

DownloadStringTaskAsync ( this webClient, Uri address, object userToken, CancellationToken token ) : object>>.Task

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests.

DownloadStringTaskAsync ( this webClient, Uri address, object userToken, CancellationToken token, IProgress progress ) : object>>.Task

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests, and reports progress.

DownloadStringTaskAsync ( this webClient, Uri address, object userToken, IProgress progress ) : object>>.Task

Asynchronously downloads the resource as a String from the URI specified, and reports progress.

OpenReadTaskAsync ( this webClient, Uri address ) : Task

Opens a readable stream containing the specified resource as an asynchronous operation using a task object.

OpenReadTaskAsync ( this webClient, Uri address, CancellationToken token ) : Task

Opens a readable stream containing the specified resource as an asynchronous operation using a task object, and monitors cancellation requests.

OpenReadTaskAsync ( this webClient, Uri address, object userToken ) : object>>.Task

Opens a readable stream containing the specified resource as an asynchronous operation using a task object.

OpenReadTaskAsync ( this webClient, Uri address, object userToken, CancellationToken token ) : object>>.Task

Opens a readable stream containing the specified resource as an asynchronous operation using a task object, and monitors cancellation requests.

OpenWriteTaskAsync ( this webClient, Uri address ) : Task

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.

OpenWriteTaskAsync ( this webClient, Uri address, CancellationToken token ) : Task

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.

OpenWriteTaskAsync ( this webClient, Uri address, string method, CancellationToken token ) : Task

Opens a stream for writing data to the specified resource, using the specified method, as an asynchronous operation using a task object.

OpenWriteTaskAsync ( this webClient, Uri address, string method, object userToken, CancellationToken token ) : object>>.Task

Opens a stream for writing data to the specified resource, using the specified method, as an asynchronous operation using a task object.

UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken ) : object>>.Task

UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken, CancellationToken token ) : object>>.Task

UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken, CancellationToken token, IProgress progress ) : object>>.Task

UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken, IProgress progress ) : object>>.Task

UploadStringTaskAsync ( this webClient, Uri address, string data ) : Task

Uploads the specified string to the specified resource, using the specified model

UploadStringTaskAsync ( this webClient, Uri address, string data, CancellationToken token ) : Task

UploadStringTaskAsync ( this webClient, Uri address, string data, CancellationToken token, IProgress progress ) : Task

UploadStringTaskAsync ( this webClient, Uri address, string data, IProgress progress ) : Task

UploadStringTaskAsync ( this webClient, Uri address, string method, string data ) : Task

UploadStringTaskAsync ( this webClient, Uri address, string method, string data, CancellationToken token ) : Task

UploadStringTaskAsync ( this webClient, Uri address, string method, string data, CancellationToken token, IProgress progress ) : Task

UploadStringTaskAsync ( this webClient, Uri address, string method, string data, IProgress progress ) : Task

메소드 상세

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified.
public static DownloadStringTaskAsync ( this webClient, Uri address ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
리턴 Task

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests.
public static DownloadStringTaskAsync ( this webClient, Uri address, CancellationToken token ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 Task

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests, and reports progress.
public static DownloadStringTaskAsync ( this webClient, Uri address, CancellationToken token, IProgress progress ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
progress IProgress An object that receives progress updates.
리턴 Task

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified, and reports progress.
public static DownloadStringTaskAsync ( this webClient, Uri address, IProgress progress ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
progress IProgress An object that receives progress updates.
리턴 Task

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests, and reports progress.
public static DownloadStringTaskAsync ( this webClient, Uri address, object userToken ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
리턴 object>>.Task

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests.
public static DownloadStringTaskAsync ( this webClient, Uri address, object userToken, CancellationToken token ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 object>>.Task

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified, and monitors cancellation requests, and reports progress.
public static DownloadStringTaskAsync ( this webClient, Uri address, object userToken, CancellationToken token, IProgress progress ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
progress IProgress An object that receives progress updates.
리턴 object>>.Task

DownloadStringTaskAsync() 공개 정적인 메소드

Asynchronously downloads the resource as a String from the URI specified, and reports progress.
public static DownloadStringTaskAsync ( this webClient, Uri address, object userToken, IProgress progress ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to download.
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
progress IProgress An object that receives progress updates.
리턴 object>>.Task

OpenReadTaskAsync() 공개 정적인 메소드

Opens a readable stream containing the specified resource as an asynchronous operation using a task object.
public static OpenReadTaskAsync ( this webClient, Uri address ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to retrieve.
리턴 Task

OpenReadTaskAsync() 공개 정적인 메소드

Opens a readable stream containing the specified resource as an asynchronous operation using a task object, and monitors cancellation requests.
public static OpenReadTaskAsync ( this webClient, Uri address, CancellationToken token ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to retrieve.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 Task

OpenReadTaskAsync() 공개 정적인 메소드

Opens a readable stream containing the specified resource as an asynchronous operation using a task object.
public static OpenReadTaskAsync ( this webClient, Uri address, object userToken ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to retrieve.
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
리턴 object>>.Task

OpenReadTaskAsync() 공개 정적인 메소드

Opens a readable stream containing the specified resource as an asynchronous operation using a task object, and monitors cancellation requests.
public static OpenReadTaskAsync ( this webClient, Uri address, object userToken, CancellationToken token ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to retrieve.
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 object>>.Task

OpenWriteTaskAsync() 공개 정적인 메소드

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.
public static OpenWriteTaskAsync ( this webClient, Uri address ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to receive the data.
리턴 Task

OpenWriteTaskAsync() 공개 정적인 메소드

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.
public static OpenWriteTaskAsync ( this webClient, Uri address, CancellationToken token ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to receive the data.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 Task

OpenWriteTaskAsync() 공개 정적인 메소드

Opens a stream for writing data to the specified resource, using the specified method, as an asynchronous operation using a task object.
public static OpenWriteTaskAsync ( this webClient, Uri address, string method, CancellationToken token ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to receive the data.
method string The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 Task

OpenWriteTaskAsync() 공개 정적인 메소드

Opens a stream for writing data to the specified resource, using the specified method, as an asynchronous operation using a task object.
public static OpenWriteTaskAsync ( this webClient, Uri address, string method, object userToken, CancellationToken token ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri The URI of the resource to receive the data.
method string The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 object>>.Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
리턴 object>>.Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken, CancellationToken token ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 object>>.Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken, CancellationToken token, IProgress progress ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
progress IProgress An object that receives progress updates.
리턴 object>>.Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data, object userToken, IProgress progress ) : object>>.Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
userToken object A user-defined object that is passed to the method invoked when the asynchronous operation completes.
progress IProgress An object that receives progress updates.
리턴 object>>.Task

UploadStringTaskAsync() 공개 정적인 메소드

Uploads the specified string to the specified resource, using the specified model
public static UploadStringTaskAsync ( this webClient, Uri address, string data ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
data string
리턴 Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string data, CancellationToken token ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
data string
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string data, CancellationToken token, IProgress progress ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
data string
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
progress IProgress An object that receives progress updates.
리턴 Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string data, IProgress progress ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
data string
progress IProgress An object that receives progress updates.
리턴 Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
리턴 Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data, CancellationToken token ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
리턴 Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data, CancellationToken token, IProgress progress ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
token System.Threading.CancellationToken The token to monitor for cancellation requests. The default value is None.
progress IProgress An object that receives progress updates.
리턴 Task

UploadStringTaskAsync() 공개 정적인 메소드

public static UploadStringTaskAsync ( this webClient, Uri address, string method, string data, IProgress progress ) : Task
webClient this The WebClient which will be used to dowload.
address System.Uri
method string
data string
progress IProgress An object that receives progress updates.
리턴 Task