WorkItemCallback 委托

定义

表示在单独的工作项线程上执行的方法。Represents the method that executes on a separate work item thread.

public delegate void WorkItemCallback();
public delegate void WorkItemCallback();
type WorkItemCallback = delegate of unit -> unit
Public Delegate Sub WorkItemCallback()
继承
WorkItemCallback

注解

此委托传递给WorkItem.Post方法, 并为工作项所发送到的线程提供回调方法。This delegate is passed to the WorkItem.Post method and provides a callback method for the thread to which the work item is being posted.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于