Share via


DisplayTaskResult.PresentStatus Property

Definition

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

public:
 property DisplayPresentStatus PresentStatus { DisplayPresentStatus get(); };
DisplayPresentStatus PresentStatus();
public DisplayPresentStatus PresentStatus { get; }
var displayPresentStatus = displayTaskResult.presentStatus;
Public ReadOnly Property PresentStatus As DisplayPresentStatus

Property Value

A DisplayPresentStatus value representing the status of the most recent call to DisplayTaskPool.TryExecuteTask.

This value gives actionable feedback to the DirectDisplay app on what actions, if any, it can take to recover from different possible error situations.

Applies to