PostSharp//API Reference/Post­Sharp.​Patterns.​Threading/Actor­Dispatcher/Invoke
Open sandboxFocus

Method Invoke

Invoke(SendOrPostCallback, Object)

Executes an action synchronously.

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

Action to be executed.

Object state

Parameter passed to action.

Implements
IDispatcher.Invoke(SendOrPostCallback, Object)