PostSharp4.3/API Reference/Post­Sharp.​Patterns.​Threading Namespace/IDispatcher Interface/IDispatcher Methods/IDispatcher.​Invoke Method
IDispatcher.Invoke Method
Executes an action synchronously.

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
void Invoke(
	SendOrPostCallback action,
	Object state
)

Parameters

action
Type: System.Threading.SendOrPostCallback
Action to be executed.
state
Type: System.Object
Parameter passed to action.
See Also