ITask Interface

Defines a class as a transform task for use with the IIS Transform Manager framework.

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

Syntax

'Declaration

  Public Interface ITask _
    Inherits IDisposable
'Usage

  Dim instance As ITask
  public interface ITask : IDisposable
  public interface class ITask : IDisposable
  type ITask =  
    interface
        interface IDisposable
    end
  public interface ITask extends IDisposable

The ITask type exposes the following members.

Methods

  Name Description
Public method Dispose (Inherited from IDisposable.)
Public method Initialize Initializes the task with objects for reporting status, logging data, and getting metadata from the job manifest.
Public method Start Called by the framework to start the task immediately after the Initialize(ITaskStatus, IJobMetadata, ILogger) method runs.

Top

Remarks

The ITask interface implements the setter injection pattern. As parameters, the Initialize(ITaskStatus, IJobMetadata, ILogger) method takes instances of ITaskStatus, IJobMetadata, and ILogger to explicitly inject dependent objects. For more information, see Inversion of Control Containers and the Dependency Injection Pattern.

See Also

Reference

Microsoft.Web.Media.TransformManager Namespace