Search Results for

    Show / Hide Table of Contents
    View Source

    Class ReportSiteJob

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.BackgroundJobs.Jobs
    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
    Type Name Description
    ILogger<ReportSiteJob> logger
    ITelemetryService telemetryService
    IJsonSerializer jsonSerializer
    View Source

    ReportSiteJob(ILogger<ReportSiteJob>, ITelemetryService, IJsonSerializer, IHttpClientFactory)

    Declaration
    public ReportSiteJob(ILogger<ReportSiteJob> logger, ITelemetryService telemetryService, IJsonSerializer jsonSerializer, IHttpClientFactory httpClientFactory)
    Parameters
    Type Name Description
    ILogger<ReportSiteJob> logger
    ITelemetryService telemetryService
    IJsonSerializer jsonSerializer
    IHttpClientFactory httpClientFactory

    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
    Type Description
    ServerRole[]

    Methods

    View Source

    RunJobAsync()

    Runs the background task to send the anonymous ID to telemetry service

    Declaration
    public async Task RunJobAsync()
    Returns
    Type Description
    Task

    Events

    View Source

    PeriodChanged

    Declaration
    public event EventHandler PeriodChanged
    Event Type
    Type Description
    EventHandler
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ReportSiteJob(ILogger<ReportSiteJob>, ITelemetryService, IJsonSerializer)
      • ReportSiteJob(ILogger<ReportSiteJob>, ITelemetryService, IJsonSerializer, IHttpClientFactory)
    • Properties
      • Delay
      • Period
      • ServerRoles
    • Methods
      • RunJobAsync()
    • Events
      • PeriodChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX