Udostępnij za pośrednictwem


LargeFileUploadTask<T>.UploadAsync Method

Definition

Upload the whole session.

public System.Threading.Tasks.Task<Microsoft.Graph.UploadResult<T>> UploadAsync (IProgress<long> progress = default, int maxTries = 3);
member this.UploadAsync : IProgress<int64> * int -> System.Threading.Tasks.Task<Microsoft.Graph.UploadResult<'T>>
Public Function UploadAsync (Optional progress As IProgress(Of Long) = Nothing, Optional maxTries As Integer = 3) As Task(Of UploadResult(Of T))

Parameters

progress
IProgress<Int64>

IProgress object to monitor the progress of the upload.

maxTries
Int32

Number of times to retry entire session before giving up.

Returns

Item information returned by server.

Applies to