-api-id | -api-type |
---|---|
M:Windows.Devices.Display.Core.DisplayTaskPool.TryExecuteTask(Windows.Devices.Display.Core.DisplayTask) |
winrt method |
Windows.Devices.Display.Core.DisplayTaskPool.TryExecuteTask(Windows.Devices.Display.Core.DisplayTask)
Queues a DisplayTask for execution on the device. Tasks are executed asynchronously, so this method returns immediately. TryExecuteTask provides a DisplayTaskResult object, which affords you multiple pieces of feedback/info regarding the state of the presentation request.
The DisplayTask to queue.
A DisplayTaskResult object, providing simple actionable feedback about what happened, and what you should do about it.