Search Results for

    Show / Hide Table of Contents

    Class ReportSiteTask

    Inheritance
    System.Object
    RecurringHostedServiceBase
    Namespace: Umbraco.Cms.Infrastructure.HostedServices
    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

    PerformExecuteAsync(Object)

    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
    Type Description
    Task
    In This Article
    • Constructors
      • ReportSiteTask(ILogger<ReportSiteTask>, ITelemetryService)
      • ReportSiteTask(ILogger<ReportSiteTask>, ITelemetryService, IRuntimeState)
      • ReportSiteTask(ILogger<ReportSiteTask>, IUmbracoVersion, IOptions<GlobalSettings>)
    • Methods
      • PerformExecuteAsync(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX