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 |
리턴 | 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);
}