Search Results for

    Show / Hide Table of Contents

    Interface IPollingTaskStatusDisplayer

    This interface is for the client being able to display the progress of an executing IServerTask by polling for the status/progress change. Typically only done with a remotely executing task.

    Inherited Members
    ITaskStatusDisplayer.Cancel()
    ITaskStatusDisplayer.GetCurrentProgress(short)
    ITaskStatusDisplayer.GetProgressCurrentMessage(short)
    ITaskStatusDisplayer.GetAllProgressMesssages(short)
    ITaskStatusDisplayer.GetAllMessages(TaskMessageType)
    ITaskStatusDisplayer.CurrentStatus
    ITaskStatusDisplayer.Header
    ITaskStatusDisplayer.Name
    ITaskStatusDisplayer.ServerTaskID
    ITaskStatusDisplayer.RunningOnServer
    ITaskStatusDisplayer.MaxProgressIndex
    ITaskStatusDisplayer.TimeRunning
    ITaskStatusDisplayer.Tooltip
    ITaskStatusDisplayer.OnStatusChanged
    Namespace: LemonEdge.Client.UI.API.Tasks
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public interface IPollingTaskStatusDisplayer : ITaskStatusDisplayer

    Methods

    RunMonitoring(Action)

    Indicates the tracker should start monitoring the status of the executing task

    Declaration
    Task RunMonitoring(Action onTaskEnded)
    Parameters
    Type Name Description
    Action onTaskEnded

    Called whenever the tracker detects the task has stopped executing for one reason or another. Stops the monitoring as well.

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    StopMonitoring()

    Indicates the tracker should stop monitoring the status of the executing task

    Declaration
    void StopMonitoring()

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.