IJob Interface
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)
Syntax
'Declaration
Public Interface IJob
'Usage
Dim instance As IJob
public interface IJob
public interface class IJob
type IJob = interface end
public interface IJob
The IJob type exposes the following members.
Properties
Name | Description | |
---|---|---|
Created | Gets or sets the DateTime of job creation. | |
EndTime | Gets or sets the DateTime when job ended. | |
Id | Gets or sets the unique identifier set by Media Services. | |
InputMediaAssets | Gets a collection of Asset Identifiers that are inputs to the Job. | |
JobNotificationSubscriptions | Gets the collection of notification subscriptions for the job. | |
LastModified | Gets or sets the DateTime of job last modification. | |
Name | Gets or sets the friendly name for the job. This property is optional. | |
OutputMediaAssets | Gets a collection of Asset Identifiers that are outputs of the Job. | |
Priority | Gets or sets the priority of a job | |
RunningDuration | Gets or sets the elapsed time (in seconds) for the job. | |
StartTime | Gets or sets the DateTime when job has been started. | |
State | Gets or sets the state of the job | |
Tasks | Gets a collection of Tasks that compose the Job. | |
TemplateId | Gets or sets the ID of the JobTemplate entity. This property is optional. |
Top
Methods
Name | Description | |
---|---|---|
Cancel | Sends request to cancel a job. | |
CancelAsync | Asynchronously sends request to cancel a job. | |
Delete | Deletes this job instance. | |
DeleteAsync | Asynchronously deletes this job instance. | |
GetExecutionProgressTask | Returns a new Task to monitor the job state. The Task finishes when the job finishes. | |
Refresh | Force entity and underlying properties to be refreshed. | |
SaveAsTemplate | Saves this job instance as a job template. | |
SaveAsTemplateAsync | Asynchronously saves this job instance as a job template. | |
Submit | Submits this job instance. | |
SubmitAsync | Asynchronously submits this job instance. | |
Update | Updates this job instance. | |
UpdateAsync | Asynchronously updates this job instance. |
Top
Events
Name | Description | |
---|---|---|
StateChanged | Occurs when a file download progresses. |
Top