Open Rails

Task(T) Class

[This is preliminary documentation and subject to change.]

Allows work to be done as a background task so that the form remains responsive (e.g. to a cancel or close button). Note: The "work" part is done by the background thread and the "success" part is done by the form's thread, so make sure the "success" part is short.

For a list of all members of this type, see Task(T) Members .

System.Object
   Task(T)

public sealed class Task<T>

Generic template parameters

T

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.

Requirements

Namespace: ORTS

Assembly: Menu (in Menu.exe)

See Also

Task(T) Members | ORTS Namespace