AppCaptureServices.RecordTimeSpan(DateTimeOffset, 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 startTime, TimeSpan 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
DateTimeOffset

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

duration
TimeSpan

The duration of the app capture record operation.

Returns

AppCaptureRecordOperation

Windows 10 requirements

App capabilities
appCaptureSettings

Applies to