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 SourceCommand
Gets the command that gets run in the background.
Declaration
FtpCommand Command { get; }
Property Value
Type | Description |
---|---|
FtpCommand |
Handler
Gets the FTP command handler.
Declaration
IFtpCommandBase Handler { get; }
Property Value
Type | Description |
---|---|
IFtpCommandBase |
Task
Gets the abortable task.
Declaration
Task Task { get; }
Property Value
Type | Description |
---|---|
Task |
Methods
| Improve this Doc View SourceAbort()
Aborts the command that is run in the background.
Declaration
void Abort()