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.1
Syntax public virtual int TerminateWorkItemsForTag(
int tag
)
Public Overridable Function TerminateWorkItemsForTag (
tag As Integer
) As Integer
public:
virtual int TerminateWorkItemsForTag(
int tag
)
abstract TerminateWorkItemsForTag :
tag : int -> int
override TerminateWorkItemsForTag :
tag : int -> int
Parameters
- tag
- Type: SystemInt32
The tag.
Return Value
Type:
Int32The number of removed work items.
Remarks Threads or currently running matching workitems are not being stopped by this.
See Also