View Source
Class ReportSiteJob
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ReportSiteJob : IRecurringBackgroundJob
Constructors
View Source
ReportSiteJob(ILogger<ReportSiteJob>, ITelemetryService, IJsonSerializer)
Declaration
public ReportSiteJob(ILogger<ReportSiteJob> logger, ITelemetryService telemetryService, IJsonSerializer jsonSerializer)
Parameters
View Source
ReportSiteJob(ILogger<ReportSiteJob>, ITelemetryService, IJsonSerializer, IHttpClientFactory)
Declaration
public ReportSiteJob(ILogger<ReportSiteJob> logger, ITelemetryService telemetryService, IJsonSerializer jsonSerializer, IHttpClientFactory httpClientFactory)
Parameters
Properties
View Source
Delay
Declaration
public TimeSpan Delay { get; }
Property Value
Type |
Description |
TimeSpan |
|
View Source
Period
Declaration
public TimeSpan Period { get; }
Property Value
Type |
Description |
TimeSpan |
|
View Source
ServerRoles
Declaration
public ServerRole[] ServerRoles { get; }
Property Value
Methods
View Source
RunJobAsync()
Runs the background task to send the anonymous ID
to telemetry service
Declaration
public async Task RunJobAsync()
Returns
Events
View Source
PeriodChanged
Declaration
public event EventHandler PeriodChanged
Event Type
Type |
Description |
EventHandler |
|