Show / Hide Table of Contents

    Interface IBackgroundTaskLifetimeFeature

    Feature for background tasks (abortable commands).

    Namespace: FubarDev.FtpServer.Features
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IBackgroundTaskLifetimeFeature

    Properties

    | Improve this Doc View Source

    Command

    Gets the command that gets run in the background.

    Declaration
    FtpCommand Command { get; }
    Property Value
    Type Description
    FtpCommand
    | Improve this Doc View Source

    Handler

    Gets the FTP command handler.

    Declaration
    IFtpCommandBase Handler { get; }
    Property Value
    Type Description
    IFtpCommandBase
    | Improve this Doc View Source

    Task

    Gets the abortable task.

    Declaration
    Task Task { get; }
    Property Value
    Type Description
    Task

    Methods

    | Improve this Doc View Source

    Abort()

    Aborts the command that is run in the background.

    Declaration
    void Abort()
    • 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.