Show / Hide Table of Contents

    Interface IBackgroundTransfer

    Interface for background data transfers.

    Inherited Members
    IDisposable.Dispose()
    Namespace: FubarDev.FtpServer.BackgroundTransfer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IBackgroundTransfer : IDisposable

    Properties

    | Improve this Doc View Source

    TransferId

    Gets the ID of the background data transfer.

    Declaration
    string TransferId { get; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    Start(IProgress<Int64>, CancellationToken)

    Starts the background data transfer.

    Declaration
    Task Start(IProgress<long> progress, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IProgress<Int64> progress

    Used to send the progress to the caller.

    CancellationToken cancellationToken

    The cancellation token used to abort the background data transfer.

    Returns
    Type Description
    Task

    The task used to transfer the data in the background.

    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.