Cloud Storage Integrator 2016 .NET Edition
Cloud Storage Integrator 2016 .NET Edition
Questions / Feedback?

FragmentComplete Event

This event fires after each fragment of a resumable upload is completed.

Syntax

[VB.NET]
Public Event OnFragmentComplete As OnFragmentCompleteHandler
[C#]
public event OnFragmentCompleteHandler OnFragmentComplete;

public delegate void OnFragmentCompleteHandler(object sender, GoogledriveFragmentCompleteEventArgs e);

class GoogledriveFragmentCompleteEventArgs : EventArgs {
  int FragmentNumber {get;}
  int FragmentCount {get;}
  bool Interrupt {get; set;}
}

Remarks

When UseResumableUpload is True and UploadFile is called this event will fire after each fragment is uploaded. This shows the overall progress of the upload. When this event fires Interrupt can also be set to True to interrupt the upload. The upload may then be resumed later.

FragmentNumber is the number of the current fragment that has completed. This value begins at 1.

FragmentCount is the total number of fragments that will be uploaded.

Interrupt may be set to True to interrupt the upload.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 .NET Edition - Version 16.0 [Build 7239]