CloudBlob.BeginDownloadToFile CloudBlob.BeginDownloadToFile CloudBlob.BeginDownloadToFile Method

Definition

Overloads

BeginDownloadToFile(String, FileMode, AsyncCallback, Object) BeginDownloadToFile(String, FileMode, AsyncCallback, Object) BeginDownloadToFile(String, FileMode, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a blob to a file.

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

Begins an asynchronous operation to download the contents of a blob to a file.

BeginDownloadToFile(String, FileMode, AsyncCallback, Object) BeginDownloadToFile(String, FileMode, AsyncCallback, Object) BeginDownloadToFile(String, FileMode, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a blob to a file.

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

Parameters

path
String String String

A string containing the path to the target file.

mode
FileMode FileMode FileMode

A FileMode enumeration value that determines how to open or create the file.

callback
AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

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

Begins an asynchronous operation to download the contents of a blob to a file.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginDownloadToFile (string path, System.IO.FileMode mode, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginDownloadToFile : string * System.IO.FileMode * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginDownloadToFile : string * System.IO.FileMode * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult

Parameters

path
String String String

A string containing the path to the target file.

mode
FileMode FileMode FileMode

A FileMode enumeration value that determines how to open or create the file.

accessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

callback
AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

Applies to