PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingIDispatcherInvoke
Open sandboxFocus

IDispatcher.Invoke Method

Invoke(SendOrPostCallback, Object)

Executes an action synchronously.

Declaration
void Invoke(SendOrPostCallback action, object state)
Parameters
Type Name Description
SendOrPostCallback action

Action to be executed.

Object state

Parameter passed to action.