WaitDialog.UpdateProgress Method (Int32, Int32, String)

 

Updates the progress in a single call.

Namespace:   Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public void UpdateProgress(
    int workProcessed,
    int totalWork,
    string statusText
)
public:
void UpdateProgress(
    int workProcessed,
    int totalWork,
    String^ statusText
)
member UpdateProgress : 
        workProcessed:int *
        totalWork:int *
        statusText:string -> unit
Public Sub UpdateProgress (
    workProcessed As Integer,
    totalWork As Integer,
    statusText As String
)

Parameters

  • workProcessed
    Type: System.Int32

    The portion of work that is completed.

  • totalWork
    Type: System.Int32

    The total work to be done before the dialog can complete.

  • statusText
    Type: System.String

    Text that shows status information.

See Also

WaitDialog Class
Microsoft.ManagementConsole.Advanced Namespace

Return to top