导出 (0) 打印
全部展开
信息
您所需的主题如下所示。但此主题未包含在此库中。

PreallocatedWorkItem.PreallocatedWorkItem Constructors

初始化预分配的工作项,事先为其分配资源。

重载列表

构造函数说明
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.

要求

最低支持客户端

Windows 8

最低支持服务器

Windows Server 2012

最低支持电话

Windows Phone 8

命名空间

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

元数据

Windows.winmd

另请参见

PreallocatedWorkItem

 

 

显示:
© 2015 Microsoft