Click or drag to resize

IUploadProgressAsyncGetUploadProgressAsync Method

IT Hit WebDAV Classes Reference
Gets IEnumerable with items that are being uploaded to this item subtree.

Namespace:  ITHit.WebDAV.Server.ResumableUpload
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 11.3.10719
Syntax
Task<IEnumerable<IResumableUploadAsync>> GetUploadProgressAsync()

Task<IEnumerable<IResumableUploadAsync>> GetUploadProgressAsync()

Return Value

Type: TaskIEnumerableIResumableUploadAsync
Information about upload progress.
Exceptions
ExceptionCondition
DavExceptionIn other cases.
Remarks

Returns IEnumerableT with a single item if implemented on file items. Return all items that are being uploaded to this subtree if implemented on folder items.

Engine calls [!:IHierarchyItemAsync.Path], LastChunkSaved, BytesUploaded, TotalContentLength and returns this information to client.

Examples

The code below is part of 'WebDAVServer.FileSystemStorage.AspNet' C# & VB samples provided with the SDK.

public async Task<IEnumerable<IResumableUploadAsync>> GetUploadProgressAsync()
{
    return new[] { this };
}
See Also