PreallocatedWorkItem.PreallocatedWorkItem constructors

Applies to Windows and Windows Phone

Initializes a preallocated work item, allocating resources for it in advance.

Overload list

ConstructorDescription
PreallocatedWorkItem(WorkItemHandler) Initializes a new work item with a WorkItemHandler delegate, allocating resources for the work item in advance.
PreallocatedWorkItem(WorkItemHandler, WorkItemPriority) Initializes a new work item with a WorkItemHandler delegate, allocating resources for the work item in advance, and specifies the priority of the work item relative to other work items in the thread pool.
PreallocatedWorkItem(WorkItemHandler, WorkItemPriority, WorkItemOptions) Initializes a new work item with a WorkItemHandler delegate, allocating resources for the work item in advance, and specifies the priority of the work item relative to other work items in the thread pool. Also specifies how the thread pool will allocate processor time for the work item.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.System.Threading.Core
Windows::System::Threading::Core [C++]

Metadata

Windows.winmd

See also

PreallocatedWorkItem

 

 

Show:
© 2014 Microsoft