MvcHandler::BeginProcessRequest Method

 

Called by ASP.NET to begin asynchronous request processing.

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

NameDescription
System_CAPS_protmethodBeginProcessRequest(HttpContext^, AsyncCallback^, Object^)

Called by ASP.NET to begin asynchronous request processing.

System_CAPS_protmethodBeginProcessRequest(HttpContextBase^, AsyncCallback^, Object^)

Called by ASP.NET to begin asynchronous request processing using the base HTTP context.

For more information about the differences between this method and MvcHttpHandler::BeginProcessRequest(HttpContext^, AsyncCallback^, Object^), see the "Remarks" section of the MvcHandler class overview.

Return to top

MvcHandler::BeginProcessRequest Method (HttpContext^, AsyncCallback^, Object^)

Called by ASP.NET to begin asynchronous request processing.

protected:
virtual IAsyncResult^ BeginProcessRequest(
	HttpContext^ httpContext,
	AsyncCallback^ callback,
	Object^ state
)

Parameters

httpContext
Type: System.Web::HttpContext^

The HTTP context.

callback
Type: System::AsyncCallback^

The asynchronous callback method.

state
Type: System::Object^

The state of the asynchronous object.

Return Value

Type: System::IAsyncResult^

The status of the asynchronous call.

If the controller that handles the request is not asynchronous, the request is processed synchronously.

For more information about the differences between this method and MvcHttpHandler::BeginProcessRequest(HttpContext^, AsyncCallback^, Object^), see the "Remarks" section of the MvcHandler class overview.

Return to top

MvcHandler::BeginProcessRequest Method (HttpContextBase^, AsyncCallback^, Object^)

Called by ASP.NET to begin asynchronous request processing using the base HTTP context.

public protected:
virtual IAsyncResult^ BeginProcessRequest(
	HttpContextBase^ httpContext,
	AsyncCallback^ callback,
	Object^ state
)

Parameters

httpContext
Type: System.Web::HttpContextBase^

The HTTP context.

callback
Type: System::AsyncCallback^

The asynchronous callback method.

state
Type: System::Object^

The state of the asynchronous object.

Return Value

Type: System::IAsyncResult^

The status of the asynchronous call.

If the controller that handles the request is not asynchronous, the request is processed synchronously.

For more information about the differences between this method and MvcHttpHandler::BeginProcessRequest(HttpContext^, AsyncCallback^, Object^), see the "Remarks" section of the MvcHandler class overview.

Return to top
Show: