public BeginUploadStream ( Stream stream, AsyncCallback callback, object state ) : IAsyncResult | ||
stream | Stream | The stream of data to upload. |
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 BeginUploadStream(Stream stream, AsyncCallback callback, object state)
{
return this.s3ClientCache.GetClient(this.RegionAsEndpoint).BeginUploadObjectFromStream(
this.linker.s3.bucket, this.linker.s3.key, stream, null, callback, state);
}