IUploadProgressGetUploadProgressAsync 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: 13.3.13068
Syntax Task<IEnumerable<IResumableUpload>> GetUploadProgressAsync()
Function GetUploadProgressAsync As Task(Of IEnumerable(Of IResumableUpload))
Task<IEnumerable<IResumableUpload^>^>^ GetUploadProgressAsync()
abstract GetUploadProgressAsync : unit -> Task<IEnumerable<IResumableUpload>>
Return Value
Type:
TaskIEnumerableIResumableUpload
Information about upload progress.
Exceptions 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 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<IResumableUpload>> GetUploadProgressAsync()
{
return new[] { this };
}
Public Async Function GetUploadProgressAsync() As Task(Of IEnumerable(Of IResumableUpload)) Implements IUploadProgress.GetUploadProgressAsync
Return {Me}
End Function
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also