Share via


EventSchedule Class

Handles scheduled recordings and recorded items, and creates and retrieves requests. This class can also be used as an event source.

Syntax

public class EventSchedule : IDisposable

Public Instance Constructors

Constructor Description
EventSchedule Initializes a new instance of the EventSchedule class.

Public Instance Methods

Method Description
CreateScheduleRequest Creates a new recording request.
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetScheduleEvents Gets the scheduled recording events in Windows Media Center that meet the specified date-time range and state.
GetScheduleEventWithId Gets a scheduled recording event that matches a specified ID.
GetScheduleRequests Gets all recording requests.
GetScheduleRequestWithId Gets a recording request that matches a specified ID.

Public Instance Events

Event Description
ScheduleEventStateChanged Raised when any scheduled recording event changes.

See Also