Search Results for

    Show / Hide Table of Contents

    Class ConsoleTaskbarProgress

    Console taskbar progress class

    Inheritance
    object
    ConsoleTaskbarProgress
    Namespace: Terminaux.Base.Extensions
    Assembly: Terminaux.dll
    Syntax
    public static class ConsoleTaskbarProgress

    Methods

    | Edit this page View Source

    SetProgress(ConsoleTaskbarProgressEnum, long, long)

    Sets the progress of the console taskbar (signed integers)

    Declaration
    public static void SetProgress(ConsoleTaskbarProgressEnum state, long progressValue = 0, long maximum = 100)
    Parameters
    Type Name Description
    ConsoleTaskbarProgressEnum state

    Taskbar progress state

    long progressValue

    Progress value

    long maximum

    Maximum progress value

    Remarks

    Nothing happens when you try to run this function on non-Windows systems.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException
    | Edit this page View Source

    SetProgressUnsigned(ConsoleTaskbarProgressEnum, ulong, ulong)

    Sets the progress of the console taskbar (unsigned integers)

    Declaration
    public static void SetProgressUnsigned(ConsoleTaskbarProgressEnum state, ulong progressValue = 0, ulong maximum = 100)
    Parameters
    Type Name Description
    ConsoleTaskbarProgressEnum state

    Taskbar progress state

    ulong progressValue

    Progress value

    ulong maximum

    Maximum progress value

    Remarks

    Nothing happens when you try to run this function on non-Windows systems.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX