AsyncManager.Sync Method

Executes a callback in the current synchronization context.

Namespace:  System.Web.Mvc.Async
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Overridable Sub Sync ( _
	action As Action _
)
'Usage
Dim instance As AsyncManager 
Dim action As Action

instance.Sync(action)

Parameters

action
Type: System.Action
The asynchronous action.

The current synchronization context provides access to the HttpContext instance.

Show: