Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1005 Bytes

threadpool_runasync_514988780.md

File metadata and controls

30 lines (21 loc) · 1005 Bytes
-api-id -api-type
M:Windows.System.Threading.ThreadPool.RunAsync(Windows.System.Threading.WorkItemHandler,Windows.System.Threading.WorkItemPriority)
winrt method

Windows.System.Threading.ThreadPool.RunAsync

-description

Creates a work item and specifies its priority relative to other work items in the thread pool.

-parameters

-param handler

The method to call when a thread becomes available to run the work item.

-param priority

The priority of the work item relative to other work items in the thread pool. The value of this parameter can be Low, Normal, or High.

-returns

An IAsyncAction interface that provides access to the work item.

-remarks

-examples

-see-also

RunAsync(WorkItemHandler)