Share via


AppCaptureServices.RecordTimeSpan(DateTime, TimeSpan) Method

Definition

Initiates an app capture record operation beginning at the specified time, for the specified duration.

public:
 virtual AppCaptureRecordOperation ^ RecordTimeSpan(DateTime startTime, TimeSpan duration) = RecordTimeSpan;
AppCaptureRecordOperation RecordTimeSpan(DateTime const& startTime, TimeSpan const& duration);
public AppCaptureRecordOperation RecordTimeSpan(System.DateTimeOffset startTime, System.TimeSpan duration);
function recordTimeSpan(startTime, duration)
Public Function RecordTimeSpan (startTime As DateTimeOffset, duration As TimeSpan) As AppCaptureRecordOperation

Parameters

startTime
DateTime DateTimeOffset

The time at which the app capture record operation is initiated.

duration
TimeSpan TimeSpan

The duration of the app capture record operation.

Returns

Windows requirements

App capabilities
appCaptureSettings

Applies to