Class ReportSiteTask
Inheritance
System.Object
Assembly: cs.temp.dll.dll
Syntax
public class ReportSiteTask : RecurringHostedServiceBase, IDisposable
Constructors
ReportSiteTask(ILogger<ReportSiteTask>, ITelemetryService)
Declaration
[Obsolete("Use the constructor that takes IRuntimeState, scheduled for removal in V12")]
public ReportSiteTask(ILogger<ReportSiteTask> logger, ITelemetryService telemetryService)
Parameters
| Type |
Name |
Description |
| ILogger<ReportSiteTask> |
logger |
|
| ITelemetryService |
telemetryService |
|
ReportSiteTask(ILogger<ReportSiteTask>, ITelemetryService, IRuntimeState)
Declaration
public ReportSiteTask(ILogger<ReportSiteTask> logger, ITelemetryService telemetryService, IRuntimeState runtimeState)
Parameters
| Type |
Name |
Description |
| ILogger<ReportSiteTask> |
logger |
|
| ITelemetryService |
telemetryService |
|
| IRuntimeState |
runtimeState |
|
ReportSiteTask(ILogger<ReportSiteTask>, IUmbracoVersion, IOptions<GlobalSettings>)
Declaration
[Obsolete("Use the constructor that takes ITelemetryService instead, scheduled for removal in V11")]
public ReportSiteTask(ILogger<ReportSiteTask> logger, IUmbracoVersion umbracoVersion, IOptions<GlobalSettings> globalSettings)
Parameters
| Type |
Name |
Description |
| ILogger<ReportSiteTask> |
logger |
|
| IUmbracoVersion |
umbracoVersion |
|
| IOptions<GlobalSettings> |
globalSettings |
|
Methods
Runs the background task to send the anonymous ID
to telemetry service
Declaration
public override async Task PerformExecuteAsync(object state)
Parameters
| Type |
Name |
Description |
| System.Object |
state |
|
Returns