Share via


OwinMiddleware.Invoke Method

Invokes a method and returns the results of the method call.

Namespace:  Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public MustOverride Function Invoke ( _
    context As IOwinContext _
) As Task
'Usage
Dim instance As OwinMiddleware 
Dim context As IOwinContext 
Dim returnValue As Task 

returnValue = instance.Invoke(context)
public abstract Task Invoke(
    IOwinContext context
)
public:
virtual Task^ Invoke(
    IOwinContext^ context
) abstract
abstract Invoke : 
        context:IOwinContext -> Task
public abstract function Invoke(
    context : IOwinContext
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
The operation that completes the request.

See Also

Reference

OwinMiddleware Class

Microsoft.Owin Namespace