WorkItem WorkItem WorkItem WorkItem Class

Definition

Provides the ability to move work items to another thread for execution.

public ref class WorkItem
public class WorkItem
type WorkItem = class
Public Class WorkItem
Inheritance
WorkItemWorkItemWorkItemWorkItem

Remarks

This class can be used to do deferred execution of a task on a requested thread.

Constructors

WorkItem() WorkItem() WorkItem() WorkItem()

Initializes a new instance of the WorkItem class.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Post(WorkItemCallback) Post(WorkItemCallback) Post(WorkItemCallback) Post(WorkItemCallback)

Moves a work item to a separate thread for execution.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to