Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

AsyncManager.Sync Method

.NET Framework 4

Executes a callback in the current synchronization context.

Namespace:  System.Web.Mvc.Async
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public virtual void Sync(
	Action action


Type: System.Action
The asynchronous action.

The current synchronization context provides access to the HttpContext instance.

A Visual Studio project with source code is available to accompany this topic: Download.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.