CloudFile.BeginStartCopy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BeginStartCopy(CloudFile, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file. |
BeginStartCopy(Uri, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. |
BeginStartCopy(Uri, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. |
BeginStartCopy(CloudFile, AsyncCallback, Object) |
Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file. |
BeginStartCopy(Uri, AsyncCallback, Object) |
Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. |
BeginStartCopy(CloudFile, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file. |
BeginStartCopy(CloudFile, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy (Microsoft.Azure.Storage.File.CloudFile source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.File.FileCopyOptions copyOptions, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginStartCopy : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileCopyOptions * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginStartCopy : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileCopyOptions * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginStartCopy (source As CloudFile, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, copyOptions As FileCopyOptions, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- sourceAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the source file. If null
, no condition is used.
- destAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the destination file. If null
, no condition is used.
- copyOptions
- FileCopyOptions
An FileCopyOptions object that represents the options for the copying. If null
, default options are applied.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginStartCopy(Uri, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy (Uri source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.File.FileCopyOptions copyOptions, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginStartCopy : Uri * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileCopyOptions * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginStartCopy : Uri * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileCopyOptions * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginStartCopy (source As Uri, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, copyOptions As FileCopyOptions, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- sourceAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the source object. If null
, no condition is used.
- destAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the destination file. If null
, no condition is used.
- copyOptions
- FileCopyOptions
An FileCopyOptions object that represents the options for the copying. If null
, default options are applied.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginStartCopy(Uri, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy (Uri source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginStartCopy : Uri * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginStartCopy : Uri * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginStartCopy (source As Uri, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- sourceAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the source object. If null
, no condition is used.
- destAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the destination file. If null
, no condition is used.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginStartCopy(CloudFile, AsyncCallback, Object)
Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy (Microsoft.Azure.Storage.File.CloudFile source, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginStartCopy : Microsoft.Azure.Storage.File.CloudFile * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginStartCopy : Microsoft.Azure.Storage.File.CloudFile * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginStartCopy (source As CloudFile, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginStartCopy(Uri, AsyncCallback, Object)
Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy (Uri source, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginStartCopy : Uri * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginStartCopy : Uri * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginStartCopy (source As Uri, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginStartCopy(CloudFile, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy (Microsoft.Azure.Storage.File.CloudFile source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginStartCopy : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginStartCopy : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginStartCopy (source As CloudFile, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- sourceAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the source file. If null
, no condition is used.
- destAccessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the destination file. If null
, no condition is used.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
Azure SDK for .NET