Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 847 Bytes

ShowProgressBoxAsync.md

File metadata and controls

21 lines (15 loc) · 847 Bytes

IPublicAPI.ShowProgressBoxAsync method

Displays a standardised Flow progress box.

public Task ShowProgressBoxAsync(string caption, Func<Action<double>, Task> reportProgressAsync, 
    Action cancelProgress = null)
parameter description
caption The caption of the progress box.
reportProgressAsync Time-consuming task function, whose input is the action to report progress. The input of the action is the progress value which is a double value between 0 and 100. If there are any exceptions, this action will be null.
cancelProgress When user cancel the progress, this action will be called.

See Also