Class UploadOptions
The file upload options.
Inheritance
System.Object
UploadOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Syntax
public class UploadOptions
Properties
ChunkSize
Gets or sets the chunk size in bytes (default: 1 MB).
Declaration
public int ChunkSize { get; set; }
Property Value
System.Int32
|
ConcurrentUploads
Gets or sets the number of concurrent uploads (default: 4).
Declaration
public int ConcurrentUploads { get; set; }
Property Value
System.Int32
|
ErrorDelegate
Gets or sets the error delegate which is called when file upload failed.
Declaration
public Action<(FileLocations File, Exception Exception)> ErrorDelegate { get; set; }
Property Value
Action<System.ValueTuple<FileLocations, Exception>>
|
SuccessDelegate
Gets or sets the success delegate which is called when a file has been uploaded.
Declaration
public Action<FileLocations> SuccessDelegate { get; set; }
Property Value
Action<FileLocations>
|
WaitForTransferCompletion
Gets or sets a value indicating whether to wait for the completion of the transfer.
Declaration
public bool WaitForTransferCompletion { get; set; }
Property Value
System.Boolean
|