AWS SDK for .NET Documentation
BeginDownloadDirectory Method (bucketName, s3Directory, localDirectory, callback, state)
AmazonAmazon.S3.TransferTransferUtilityBeginDownloadDirectory(String, String, String, AsyncCallback, Object) Did this page help you?   Yes   No    Tell us about it...
Initiates the asynchronous execution of the DownloadDirectory operation.
Declaration Syntax
C#
public IAsyncResult BeginDownloadDirectory(
	string bucketName,
	string s3Directory,
	string localDirectory,
	AsyncCallback callback,
	Object state
)
Parameters
bucketName (String)
The name of the bucket containing the Amazon S3 objects to download.
s3Directory (String)
The directory in Amazon S3 to download.
localDirectory (String)
The local directory to download the objects to.
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 values is also needed when invoking EndDownloadDirectory.
Exceptions
See Also
DownloadDirectory()()()()

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