[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Type Parameters
- T
Provides the functionality to schedule tasks.
The following tables list the members exposed by the TaskScheduler<(Of T>) generic type.
Public Methods
| Name | Description | |
|---|---|---|
| AsyncRun | Starts the task scheduler and returns immediately. | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| Run | Runs the task scheduler. | |
| ScheduleTask | Adds a IScheduledTask to the scheduler. | |
| Stop | Stops the scheduler. | |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
Protected Methods
| Name | Description | |
|---|---|---|
| Dispose | Stops the scheduler and cleans up any resources. (Overrides .Dispose(Boolean).) | |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) | |
| GetService | (Inherited from Component.) | |
| MemberwiseClone | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| OnThreadError | Raises the ThreadError event. |
Public Constructors
| Name | Description | |
|---|---|---|
| TaskScheduler<(Of T>)New | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
| ScheduledTasks | Gets the scheduled tasks. | |
| Site | (Inherited from Component.) |
Protected Properties
| Name | Description | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) |
Public Events
| Name | Description | |
|---|---|---|
| Disposed | Occurs when the component is disposed by a call to the Dispose() method. (Inherited from Component.) | |
| ThreadError | Occurs when a task throws an exception. |