ListParts Method
Lists all parts in a current multipart upload.
Syntax
[VB.NET] Public Sub ListParts(ByVal ObjectName As String, ByVal UploadId As String)
[C#] public void ListParts(string objectName, string uploadId);
Remarks
This method lists all the parts in a current multipart upload. The PartList event will be fire once for each part in the current upload as reported by the server. The Parts collection will also be populated. Parts may be inspected to determine various information such as ETag, PartNumber, ObjectName, etc.
This method must be called before calling CompleteMultipartUpload.
By default only the first 1000 parts will be returned. To determine if the results are paged check IsPaged. If the results are paged continue to call ListParts to obtain the next set of parts until IsPaged returns false. The Parts collection will then contain all of the parts for the upload.
To change the default maximum number of parts to be returned set MaxParts.
NOTE: This method has a corresponding asynchronous version (ListPartsAsync) for use in the Xamarin environment.