AWS SDK for .NET Documentation
UploadProgressEvent Event
Amazon ► Amazon.S3.Transfer ► TransferUtilityUploadRequest ► UploadProgressEvent
Did this page help you? Yes No Tell us about it...
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.

Declaration Syntax

C#

    public event EventHandler<UploadProgressArgs> 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:
CopyC#

    private void displayProgress(object sender, UploadProgressArgs args)
    {
        Console.WriteLine(args);
    }

2. Add this method to the UploadProgressEvent delegate's invocation list
CopyC#

    TransferUtilityUploadRequest request = new TransferUtilityUploadRequest();
    request.UploadProgressEvent += displayProgress;

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)