The event for WriteObjectProgressEvent notifications. All
subscribers will be notified when a new progress
event is raised.
The WriteObjectProgressEvent is fired as data is downloaded from S3. The delegates attached to the event will be passed information detailing how much data has been downloaded as well as how much will be downloaded.
Declaration Syntax
C# |
public event EventHandler<WriteObjectProgressArgs> WriteObjectProgressEvent
Remarks
Subscribe to this event if you want to receive
WriteObjectProgressEvent notifications. Here is how:
1. Define a method with a signature similar to this one:
2. Add this method to the WriteObjectProgressEvent delegate's invocation list
1. Define a method with a signature similar to this one:
CopyC#
private void displayProgress(object sender, WriteObjectProgressArgs args) { Console.WriteLine(args); }
CopyC#
TransferUtilityDownloadRequest request = new TransferUtilityDownloadRequest();
request.WriteObjectProgressEvent += displayProgress;