NotificationJobState Enumeration

Enumeration of notification job states. None = 0, FinalStatesOnly = 1, All = 2.

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

Syntax

'Declaration
Public Enumeration NotificationJobState
'Usage
Dim instance As NotificationJobState
public enum NotificationJobState
public enum class NotificationJobState
type NotificationJobState
public enum NotificationJobState

Members

Member name Description
All Indicates that the job state is All (2). Valid states are: Queued, Scheduled, Processing, Finished, Error, Canceled, Canceling.
FinalStatesOnly Indicates that the job state is FinalStatesOnly (1). The final states are: Finished, Canceled, and Error.
None Indicates that the job state is None (0).

If a job with JobNotificationSubscription.TargetJobState = None is submitted, the DataServiceRequestException exception is thrown with the following message “JobNotificationSubscription.TargetJobState must not be 0”.

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace