Share via


MediaJobCanceledEventData Class

Definition

Job canceled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobCanceled event.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.MediaJobCanceledEventData+MediaJobCanceledEventDataConverter))]
public class MediaJobCanceledEventData : Azure.Messaging.EventGrid.SystemEvents.MediaJobStateChangeEventData
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.MediaJobCanceledEventData+MediaJobCanceledEventDataConverter))>]
type MediaJobCanceledEventData = class
    inherit MediaJobStateChangeEventData
Public Class MediaJobCanceledEventData
Inherits MediaJobStateChangeEventData
Inheritance
MediaJobCanceledEventData
Attributes

Properties

CorrelationData

Gets the Job correlation data.

(Inherited from MediaJobStateChangeEventData)
Outputs

Gets the Job outputs. Please note MediaJobOutput is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MediaJobOutputAsset.

PreviousState

The previous state of the Job.

(Inherited from MediaJobStateChangeEventData)
State

The new state of the Job.

(Inherited from MediaJobStateChangeEventData)

Applies to