C# Class Flatwhite.WebApi.RegisteredTasks

Inheritance: IRegisteredObject, IBackgroundTaskManager
Afficher le fichier Open project: vanthoainguyen/Flatwhite

Méthodes publiques

Méthode Description
RegisteredTasks ( ) : System

Creates an instance that is registered with the ASP.NET runtime.

Run ( Func operation ) : void

Executes an asynchronous background operation, registering it with ASP.NET.

Private Methods

Méthode Description
IRegisteredObject ( bool immediate ) : void
Register ( Task task ) : void

Registers a task with the ASP.NET runtime. The task is unregistered when it completes.

Method Details

RegisteredTasks() public méthode

Creates an instance that is registered with the ASP.NET runtime.
public RegisteredTasks ( ) : System
Résultat System

Run() public méthode

Executes an asynchronous background operation, registering it with ASP.NET.
public Run ( Func operation ) : void
operation Func The background operation.
Résultat void