DefaultDurableTaskWorkerBuilder.Build(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Build the hosted service which runs the worker.
public Microsoft.Extensions.Hosting.IHostedService Build(IServiceProvider serviceProvider);
abstract member Build : IServiceProvider -> Microsoft.Extensions.Hosting.IHostedService
override this.Build : IServiceProvider -> Microsoft.Extensions.Hosting.IHostedService
Public Function Build (serviceProvider As IServiceProvider) As IHostedService
Parameters
- serviceProvider
- IServiceProvider
The service provider.
Returns
The built hosted service.