CloudBlockBlob.BeginUploadFromFile CloudBlockBlob.BeginUploadFromFile CloudBlockBlob.BeginUploadFromFile Method

Definition

Overloads

BeginUploadFromFile(String, AsyncCallback, Object) BeginUploadFromFile(String, AsyncCallback, Object) BeginUploadFromFile(String, AsyncCallback, Object)

Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten.

BeginUploadFromFile(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginUploadFromFile(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten.

BeginUploadFromFile(String, AsyncCallback, Object) BeginUploadFromFile(String, AsyncCallback, Object) BeginUploadFromFile(String, AsyncCallback, Object)

Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten.

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

A string containing the file path providing the blob content.

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
Implements

BeginUploadFromFile(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginUploadFromFile(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginUploadFromFile (string path, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginUploadFromFile : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginUploadFromFile : string * 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 file path providing the blob content.

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
Implements

Applies to