Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Executes a callback in the current synchronization context.
Namespace: System.Web.Mvc.Async
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Sub Sync ( _
action As Action _
)
public virtual void Sync(
Action action
)
public:
virtual void Sync(
Action^ action
)
Parameters
- action
Type: System.Action
The asynchronous action.
Remarks
The current synchronization context provides access to the HttpContext instance.
Examples
A Visual Studio project with source code is available to accompany this topic: Download.