IJob.State Property

Gets or sets the state of the job

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

Syntax

'Declaration
ReadOnly Property State As JobState 
    Get
'Usage
Dim instance As IJob 
Dim value As JobState 

value = instance.State
JobState State { get; }
property JobState State {
    JobState get ();
}
abstract State : JobState
function get State () : JobState

Property Value

Type: Microsoft.WindowsAzure.MediaServices.Client.JobState
The state of the job.

Remarks

. This is an aggregate of the Tasks state. If one Task fails, this property would be set to Error(4). Valid values are:

Queued = 0

Scheduled = 1

Processing = 2

Finished = 3

Error = 4

Canceled = 5

Canceling = 6

See Also

Reference

IJob Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace