AWS SDK for .NET Documentation
BeginUploadDirectory Method (request, callback, state)
AmazonAmazon.S3.TransferTransferUtilityBeginUploadDirectory(TransferUtilityUploadDirectoryRequest, AsyncCallback, Object) Did this page help you?   Yes   No    Tell us about it...
Initiates the asynchronous execution of the UploadDirectory operation.
Declaration Syntax
C#
public IAsyncResult BeginUploadDirectory(
	TransferUtilityUploadDirectoryRequest request,
	AsyncCallback callback,
	Object state
)
Parameters
request (TransferUtilityUploadDirectoryRequest)
The request that contains all the parameters required to upload a directory.
callback (AsyncCallback)
An AsyncCallback delegate that is invoked when the operation completes.
state (Object)
A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the AsyncState property.
Return Value
An IAsyncResult that can be used to poll, or wait for results, or both. This value is also needed when invoking EndUploadDirectory.
Remarks

If you are uploading large files, TransferUtility will use multipart upload to fulfill the request. If a multipart upload is interrupted, TransferUtility will attempt to abort the multipart upload. Under certain circumstances (network outage, power failure, etc.), TransferUtility will not be able to abort the multipart upload. In this case, in order to stop getting charged for the storage of uploaded parts, you should manually invoke TransferUtility.AbortMultipartUploads() to abort the incomplete multipart uploads.

Exceptions
See Also
UploadDirectory()()()()

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)