Amazon.DynamoDBv2.DataModel.S3Link.BeginDownloadTo C# (CSharp) Method

BeginDownloadTo() public method

Initiates the asynchronous execution of the DownloadTo operation.
public BeginDownloadTo ( string downloadPath, AsyncCallback callback, object state ) : IAsyncResult
downloadPath string Path to save the file.
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 IAsyncResult
        public IAsyncResult BeginDownloadTo(string downloadPath, AsyncCallback callback, object state)
        {
            return this.s3ClientCache.GetClient(this.RegionAsEndpoint).BeginDownloadToFilePath(
                this.linker.s3.bucket, this.linker.s3.key, downloadPath, null, callback, state);
        }