Table of Contents

Class BackgroundTaskManager

Namespace
JJMasterData.Hangfire
Assembly
JJMasterData.Hangfire.dll
public sealed class BackgroundTaskManager : IBackgroundTaskManager
Inheritance
BackgroundTaskManager
Implements
Inherited Members

Methods

Abort(string)

public void Abort(string key)

Parameters

key string

GetProgress<T>(string)

public T GetProgress<T>(string key) where T : IProgressReporter

Parameters

key string

Returns

T

Type Parameters

T

IsRunning(string)

public bool IsRunning(string key)

Parameters

key string

Returns

bool

Run(string, IBackgroundTaskWorker)

public void Run(string key, IBackgroundTaskWorker worker)

Parameters

key string
worker IBackgroundTaskWorker