TessaBackgroundService - конструктор
Сервис асинхронной обработки действий на стороне веб-сервера.
Производит обработку действий, поставленных в очередь асинхронной обработки
IWebBackgroundServiceQueue.
Пространство имён: Tessa.Web.ServicesСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public TessaBackgroundService(
IWebBackgroundServiceQueue queue,
IBackgroundServiceOptions options,
IWebContextAccessor? webContextAccessor = null
)
Public Sub New (
queue As IWebBackgroundServiceQueue,
options As IBackgroundServiceOptions,
Optional webContextAccessor As IWebContextAccessor = Nothing
)
public:
TessaBackgroundService(
IWebBackgroundServiceQueue^ queue,
IBackgroundServiceOptions^ options,
IWebContextAccessor^ webContextAccessor = nullptr
)
new :
queue : IWebBackgroundServiceQueue *
options : IBackgroundServiceOptions *
?webContextAccessor : IWebContextAccessor
(* Defaults:
let _webContextAccessor = defaultArg webContextAccessor null
*)
-> TessaBackgroundService
Параметры
- queue IWebBackgroundServiceQueue
Очередь действий для асинхронной обработки в фоновом режиме веб-сервером.
- options IBackgroundServiceOptions
- webContextAccessor IWebContextAccessor (Optional)
Объект, который предоставляет доступ к текущему
IWebContext.