Search Results for

    Show / Hide Table of Contents

    Class UploadOptions

    The file upload options.

    Inheritance
    object
    UploadOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    public class UploadOptions

    Properties

    ChunkSize

    Gets or sets the chunk size in bytes (default: 1 MB).

    Declaration
    [Obsolete("SDK helper methods use streaming uploads. In order to use chunked uploads, please see ITransferClient.UploadFileAsync")]
    public int ChunkSize { get; set; }
    Property Value
    int

    ConcurrentUploads

    Gets or sets the number of concurrent uploads (default: 4).

    Declaration
    public int ConcurrentUploads { get; set; }
    Property Value
    int

    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<(FileLocations File, Exception 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
    bool

    Back to top Generated by DocFX