CloudFile.BeginDownloadToFile メソッド

定義

オーバーロード

BeginDownloadToFile(String, FileMode, AsyncCallback, Object)

ファイル サービス内のファイルの内容をローカル ファイルにダウンロードする非同期操作を開始します。

BeginDownloadToFile(String, FileMode, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

ファイル サービス内のファイルの内容をローカル ファイルにダウンロードする非同期操作を開始します。

BeginDownloadToFile(String, FileMode, AsyncCallback, Object)

ファイル サービス内のファイルの内容をローカル ファイルにダウンロードする非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToFile (string path, System.IO.FileMode mode, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDownloadToFile : string * System.IO.FileMode * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDownloadToFile : string * System.IO.FileMode * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDownloadToFile (path As String, mode As FileMode, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

パラメーター

path
String

ローカル ファイル システム内のターゲット ファイルへのパス。

mode
FileMode

FileModeファイルを開くか作成する方法を決定する列挙値。

callback
AsyncCallback

非同期操作の完了時に通知を受け取るコールバック デリゲート。

state
Object

コールバック デリゲートに渡されるユーザー定義オブジェクト。

戻り値

ICancellableAsyncResult非同期操作を参照する 。

属性

適用対象

BeginDownloadToFile(String, FileMode, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

ファイル サービス内のファイルの内容をローカル ファイルにダウンロードする非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToFile (string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDownloadToFile : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDownloadToFile : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDownloadToFile (path As String, mode As FileMode, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

パラメーター

path
String

ローカル ファイル システム内のターゲット ファイルへのパス。

mode
FileMode

FileModeファイルを開くか作成する方法を決定する列挙値。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。

options
FileRequestOptions

要求の追加オプションを指定する FileRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

callback
AsyncCallback

非同期操作の完了時に通知を受け取るコールバック デリゲート。

state
Object

コールバック デリゲートに渡されるユーザー定義オブジェクト。

戻り値

ICancellableAsyncResult非同期操作を参照する 。

属性

適用対象