WorkerThreadPoolTerminateWorkItemsForTag Method |
Removes all pending work items from the work queue and terminates the running work items having the tag specified.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.3
Syntaxpublic 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 Int32
- The tag.
Return Value
Int32The number of removed work items.
RemarksThreads or currently running matching workitems are not being stopped by this.
See Also