Table of Contents

Interface IAsyncController

Namespace
System.Web.Mvc.Async
Assembly
System.Web.Mvc.dll

Defines the methods that are required for an asynchronous controller.

public interface IAsyncController : IController
Inherited Members

Methods

BeginExecute(RequestContext, AsyncCallback, object)

Executes the specified request context.

IAsyncResult BeginExecute(RequestContext requestContext, AsyncCallback callback, object state)

Parameters

requestContext RequestContext

The request context.

callback AsyncCallback

The asynchronous callback method.

state object

The state.

Returns

IAsyncResult

The status of the asynchronous operation.

EndExecute(IAsyncResult)

Ends the asynchronous operation.

void EndExecute(IAsyncResult asyncResult)

Parameters

asyncResult IAsyncResult

The asynchronous result.