AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
The event for UploadProgressEvent notifications. All subscribers will be notified when a new progress event is raised.

The UploadProgressEvent is fired as data is uploaded to S3. The delegates attached to the event will be passed information detailing how much data has been uploaded as well as how much will be uploaded.

Namespace: Amazon.S3.Transfer
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public event UploadProgressEventEventHandler UploadProgressEvent

Remarks

Subscribe to this event if you want to receive UploadProgressEvent notifications. Here is how:
1. Define a method with a signature similar to this one:
private void displayProgress(object sender, UploadProgressArgs args)
{
    Console.WriteLine(args);
}
            
2. Add this method to the UploadProgressEvent delegate's invocation list
TransferUtilityUploadRequest request = new TransferUtilityUploadRequest();
request.UploadProgressEvent += displayProgress;
            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5