Search Results for

    Show / Hide Table of Contents

    Class FileTransferEventArgs

    Cancelable event args class used by events related to file upload and download.

    Inheritance
    object
    EventArgs
    CancelEventArgs
    FileTransferEventArgs
    Inherited Members
    CancelEventArgs.Cancel
    EventArgs.Empty
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class FileTransferEventArgs : CancelEventArgs

    Constructors

    FileTransferEventArgs()

    Default constructor.

    Declaration
    public FileTransferEventArgs()

    FileTransferEventArgs(long, long)

    Creates instance with bytes downloaded versus total bytes to download.

    Declaration
    public FileTransferEventArgs(long bytesTransferred, long totalBytes)
    Parameters
    Type Name Description
    long bytesTransferred

    The number of bytes that have been downloaded.

    long totalBytes

    The total number of bytes that will be downloaded.

    Properties

    BytesTransferred

    Gets the number of bytes that have been transferred.

    Declaration
    public long BytesTransferred { get; set; }
    Property Value
    Type Description
    long

    TotalBytes

    Gets the total number of bytes.

    Declaration
    public long TotalBytes { get; set; }
    Property Value
    Type Description
    long
    In this article
    • Constructors
      • FileTransferEventArgs()
      • FileTransferEventArgs(long, long)
    • Properties
      • BytesTransferred
      • TotalBytes
    Back to top Generated by DocFX