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
SyntaxTask<IEnumerable<IResumableUploadAsync>> GetUploadProgressAsync()
Task<IEnumerable<IResumableUploadAsync>> GetUploadProgressAsync()
Function GetUploadProgressAsync As Task(Of IEnumerable(Of IResumableUploadAsync))
Function GetUploadProgressAsync As Task(Of IEnumerable(Of IResumableUploadAsync))
Task<IEnumerable<IResumableUploadAsync^>^>^ GetUploadProgressAsync()
Task<IEnumerable<IResumableUploadAsync^>^>^ GetUploadProgressAsync()
abstract GetUploadProgressAsync : unit -> Task<IEnumerable<IResumableUploadAsync>>
abstract GetUploadProgressAsync : unit -> Task<IEnumerable<IResumableUploadAsync>>
Return Value
Type:
TaskIEnumerableIResumableUploadAsync
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 [!:IHierarchyItemAsync.Path],
LastChunkSaved,
BytesUploaded,
TotalContentLength and returns this information to
client.
ExamplesThe code below is part of 'WebDAVServer.FileSystemStorage.AspNet' C# & VB samples provided with the SDK.
public async Task<IEnumerable<IResumableUploadAsync>> GetUploadProgressAsync()
{
return new[] { this };
}
Public Async Function GetUploadProgressAsync() As Task(Of IEnumerable(Of IResumableUploadAsync)) Implements IUploadProgressAsync.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