Düzenle

Aracılığıyla paylaş


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
WorkItem

Remarks

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

Constructors

WorkItem()

Initializes a new instance of the WorkItem class.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Post(WorkItemCallback)

Moves a work item to a separate thread for execution.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to