PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingActor­DispatcherInvoke
Open sandboxFocus

ActorDispatcher.Invoke Method

Invoke(SendOrPostCallback, Object)

Executes an action synchronously.

Declaration
public void Invoke(SendOrPostCallback action, object state)
Parameters
Type Name Description
System.Threading.SendOrPostCallback action

Action to be executed.

Object state

Parameter passed to action.

Implements
IDispatcher.Invoke(SendOrPostCallback, Object)