ASP.NET WaitPage Framework - Pete Beech

BaseTaskWaiter Class

BaseTaskWaiter is an abstract class which implements the ITaskWaiter and provides some of the implementation. It has a default waiting message, and also allows progress messages to be set. In the constructor, you must pass in the URL of the results page, and optionally a custom waiting message to override the default one if necessary, and a flag to indicate whether you want to use the progressMessage feature.

For a list of all members of this type, see BaseTaskWaiter Members.


public abstract class BaseTaskWaiter : ITaskWaiter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


When deriving from this class to make a custom TaskWaiter object, you need to implement IsTaskFinished to determine when the job finishes, and GetResults to fetch the actual results of the long running task once it has actually finished.


Namespace: WaitPageFramework

Assembly: WaitPageFramework (in WaitPageFramework.dll)

See Also

BaseTaskWaiter Members | WaitPageFramework Namespace