C# Class Dev2.ExtMethods.TaskExtensions

ファイルを表示 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
WaitWithPumping ( this task, int millisecondsTimeout = Timeout.Infinite ) : bool

Waits for the task to complete execution, pumping in the meantime.

This method is intended for usage with Windows Presentation Foundation.

Method Details

WaitWithPumping() public static method

Waits for the task to complete execution, pumping in the meantime.
This method is intended for usage with Windows Presentation Foundation.
public static WaitWithPumping ( this task, int millisecondsTimeout = Timeout.Infinite ) : bool
task this The task for which to wait.
millisecondsTimeout int The number of milliseconds to wait, or Infinite (-1) to wait indefinitely.
return bool