OwinHttpHandler.BeginProcessRequest Method
Initiates an asynchronous call to the HTTP handler.
Namespace: Microsoft.Owin.Host.SystemWeb
Assembly: Microsoft.Owin.Host.SystemWeb (in Microsoft.Owin.Host.SystemWeb.dll)
Syntax
'Declaration
Public Function BeginProcessRequest ( _
httpContext As HttpContextBase, _
callback As AsyncCallback, _
extraData As Object _
) As IAsyncResult
'Usage
Dim instance As OwinHttpHandler
Dim httpContext As HttpContextBase
Dim callback As AsyncCallback
Dim extraData As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginProcessRequest(httpContext, _
callback, extraData)
public IAsyncResult BeginProcessRequest(
HttpContextBase httpContext,
AsyncCallback callback,
Object extraData
)
public:
IAsyncResult^ BeginProcessRequest(
HttpContextBase^ httpContext,
AsyncCallback^ callback,
Object^ extraData
)
member BeginProcessRequest :
httpContext:HttpContextBase *
callback:AsyncCallback *
extraData:Object -> IAsyncResult
public function BeginProcessRequest(
httpContext : HttpContextBase,
callback : AsyncCallback,
extraData : Object
) : IAsyncResult
Parameters
- httpContext
Type: System.Web.HttpContextBase
An HttpContextBaseobject that provides references to intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
- callback
Type: System.AsyncCallback
The AsyncCallback to call when the asynchronous method call is complete. If callback is null, the delegate is not called.
- extraData
Type: System.Object
Any extra data needed to process the request.
Return Value
Type: System.IAsyncResult
An IAsyncResult that contains information about the status of the process.