Class TransferUtilityDownloadRequest
Contains all the parameters
that can be set when making a this request with the
TransferUtility
method.
public class TransferUtilityDownloadRequest : BaseDownloadRequest
- Inheritance
-
TransferUtilityDownloadRequest
- Inherited Members
Constructors
TransferUtilityDownloadRequest()
public TransferUtilityDownloadRequest()
Properties
FilePath
Get or sets the file path location of where the downloaded Amazon S3 object will be written to.
public string FilePath { get; set; }
Property Value
- string
The file path location of where the downloaded Amazon S3 object will be written to.
Events
WriteObjectProgressEvent
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.
public event EventHandler<WriteObjectProgressArgs> WriteObjectProgressEvent
Event Type
Remarks
Subscribe to this event if you want to receive
WriteObjectProgressEvent notifications. Here is how:
- Define a method with a signature similar to this one:
private void displayProgress(object sender, WriteObjectProgressArgs args)
{
Console.WriteLine(args);
}
- Add this method to the WriteObjectProgressEvent delegate's invocation list
TransferUtilityDownloadRequest request = new TransferUtilityDownloadRequest();
request.WriteObjectProgressEvent += displayProgress;