Share via


EventSchedule.GetScheduleRequestWithId Method

Gets a recording request that matches a specified ID.

Syntax

public ScheduleRequest GetScheduleRequestWithId(
  string  id
);

Parameters

id

System.String.  The ID of the recording request to retrieve.

Return Value

Microsoft.MediaCenter.TV.Scheduling.ScheduleRequest.  A ScheduleRequest object that represents the recording request.

This method raises an ArgumentNullException if the ID is null. This method raises an EventScheduleException when the specified request is not found and for any other errors.

Requirements

Reference: ehRecObj

Namespace: Microsoft.MediaCenter.TV.Scheduling

Assembly: ehRecObj.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also