Dispatch(WaitCallback, object?, bool)
Queues a work item.
Declaration
public void Dispatch(WaitCallback workItem, object? state, bool flowExecutionContext = true)Parameters
| Type | Name | Description |
|---|---|---|
| WaitCallback | workItem | The delegate to execute. |
| object | state | The object passed to |
| bool | flowExecutionContext | true to flow the execution context of the calling thread to the work item, false to execute the work item without it. |