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

BeginUploadFrom() public method

Initiates the asynchronous execution of the UploadFrom operation.
public BeginUploadFrom ( string sourcePath, AsyncCallback callback, object state ) : IAsyncResult
sourcePath string Path of the file to be uploaded.
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 BeginUploadFrom(string sourcePath, AsyncCallback callback, object state)
        {
            return this.s3ClientCache.GetClient(this.RegionAsEndpoint).BeginUploadObjectFromFilePath(
                this.linker.s3.bucket, this.linker.s3.key, sourcePath, null, callback, state);

        }