Share via


DisplayTaskResult Class

Definition

Represents multiple pieces of feedback/info regarding the state of a presentation request, and what you should do about it. A DisplayTaskResult object is returned from DisplayTaskPool.TryExecuteTask.

public ref class DisplayTaskResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplayTaskResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplayTaskResult
Public NotInheritable Class DisplayTaskResult
Inheritance
Object Platform::Object IInspectable DisplayTaskResult
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Properties

PresentId

Gets a value representing the number of presents that have been requested on a given DisplayTaskPool.

PresentStatus

Gets the status of the most recent call to DisplayTaskPool.TryExecuteTask.

SourceStatus

Gets the current status of the DisplaySource immediately before DisplayTaskPool.TryExecuteTask returns.

Applies to

See also