IDispatcher.Invoke Method |
Executes an action synchronously.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.55.0 (5.0.55.0)
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.