TaskStatus Class

IIS 7.0

Provides a status callback mechanism for the task.


Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)

public class TaskStatus : ITaskStatus, IDisposable

The TaskStatus type exposes the following members.

Public methodTaskStatusInitializes a new instance of the TaskStatus class by using the specified manifest and logger.

Public propertyMessage
Public propertyPercentCompleteGets the percentage of task completion.
Public propertyStatusGets the status of the task.
Public propertyTaskChildProcessIdGets the ID of the child process of the task.
Public propertyTaskCountGets the task count.
Public propertyTaskIndexGets the task index.

Public methodDispose()()()()Disposes task resources.
Protected methodDispose(Boolean)Disposes task resources and optionally releases the managed resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetTaskChildProcessIdSets the ID of the child process of the task.
Public methodSetTaskCountSets the number of tasks to be performed by the scheduler.
Public methodSetTaskIndexSets the index of the task to be performed by the scheduler.
Public methodToString (Inherited from Object.)
Public methodUpdateStatusUpdates the status to an ongoing task by using the specified percentage complete, status, and message.

Task status is reported back through the Scheduler object. Initialize this object using a manifest that contains scheduler information. Each task will be passed an object that implements this interface through dependency injection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.