TaskStatus Class
Provides a status callback mechanism for the task.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.Web.Media.TransformManager..::..TaskStatus
Namespace: Microsoft.Web.Media.TransformManager
Assembly: Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)
Syntax
'Declaration
Public Class TaskStatus _
Implements ITaskStatus, IDisposable
'Usage
Dim instance As TaskStatus
public class TaskStatus : ITaskStatus, IDisposable
public ref class TaskStatus : ITaskStatus,
IDisposable
type TaskStatus =
class
interface ITaskStatus
interface IDisposable
end
public class TaskStatus implements ITaskStatus, IDisposable
The TaskStatus type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TaskStatus | Initializes a new instance of the TaskStatus class by using the specified manifest and logger. |
Top
Properties
Name | Description | |
---|---|---|
Message | ||
PercentComplete | Gets the percentage of task completion. | |
Status | Gets the status of the task. | |
TaskChildProcessId | Gets the ID of the child process of the task. | |
TaskCount | Gets the task count. | |
TaskIndex | Gets the task index. |
Top
Methods
Name | Description | |
---|---|---|
Dispose() () () () | Disposes task resources. | |
Dispose(Boolean) | Disposes task resources and optionally releases the managed resources. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetTaskChildProcessId | Sets the ID of the child process of the task. | |
SetTaskCount | Sets the number of tasks to be performed by the scheduler. | |
SetTaskIndex | Sets the index of the task to be performed by the scheduler. | |
ToString | (Inherited from Object.) | |
UpdateStatus | Updates the status to an ongoing task by using the specified percentage complete, status, and message. |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.