Click or drag to resize

WorkerThreadPoolTerminateWorkItemsForTag Method

Removes all pending work items from the work queue and terminates the running work items having the tag specified.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.0
Syntax
public virtual int TerminateWorkItemsForTag(
	int tag
)

Parameters

tag
Type: SystemInt32
The tag.

Return Value

Type: Int32
The number of removed work items.
Remarks
Threads or currently running matching workitems are not being stopped by this.
See Also