PostSharp6.2/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: 6.2.11.0 (6.2.11.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