Export (0) Print
Expand All

IJob Interface

Updated: December 4, 2013

Represents a job object that contains a set of tasks. Each task performs an atomic operation on the input asset(s). A job controls the execution of each task and outputs from one task can be used as inputs to the next task. A job is typically used to process one audio/video presentation. If you are processing multiple videos, create a job for each video to be encoded.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

public interface IJob

The IJob type exposes the following members.

  NameDescription
Public propertyCreatedGets or sets the DateTime of job creation.
Public propertyEndTimeGets or sets the DateTime when job ended.
Public propertyIdGets or sets the unique identifier set by Media Services.
Public propertyInputMediaAssetsGets a collection of Asset Identifiers that are inputs to the Job.
Public propertyJobNotificationSubscriptionsGets the collection of notification subscriptions for the job.
Public propertyLastModifiedGets or sets the DateTime of job last modification.
Public propertyNameGets or sets the friendly name for the job. This property is optional.
Public propertyOutputMediaAssetsGets a collection of Asset Identifiers that are outputs of the Job.
Public propertyPriorityGets or sets the priority of a job
Public propertyRunningDurationGets or sets the elapsed time (in seconds) for the job.
Public propertyStartTimeGets or sets the DateTime when job has been started.
Public propertyStateGets or sets the state of the job
Public propertyTasksGets a collection of Tasks that compose the Job.
Public propertyTemplateIdGets or sets the ID of the JobTemplate entity. This property is optional.
Top

  NameDescription
Public methodCancelSends request to cancel a job.
Public methodCancelAsyncAsynchronously sends request to cancel a job.
Public methodDeleteDeletes this job instance.
Public methodDeleteAsyncAsynchronously deletes this job instance.
Public methodGetExecutionProgressTaskReturns a new Task to monitor the job state. The Task finishes when the job finishes.
Public methodRefreshForce entity and underlying properties to be refreshed.
Public methodSaveAsTemplateSaves this job instance as a job template.
Public methodSaveAsTemplateAsync Asynchronously saves this job instance as a job template.
Public methodSubmitSubmits this job instance.
Public methodSubmitAsyncAsynchronously submits this job instance.
Public methodUpdateUpdates this job instance.
Public methodUpdateAsyncAsynchronously updates this job instance.
Top

  NameDescription
Public eventStateChangedOccurs when a file download progresses.
Top

Community Additions

Show:
© 2014 Microsoft