UseHandlerMiddleware Constructor (Func<IDictionary<String, Object>, Task>, Func<IOwinContext, Task>)

Initializes a new instance of the UseHandlerMiddleware class.

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

Syntax

'Declaration
Public Sub New ( _
    next As Func(Of IDictionary(Of String, Object), Task), _
    handler As Func(Of IOwinContext, Task) _
)
'Usage
Dim next As Func(Of IDictionary(Of String, Object), Task)
Dim handler As Func(Of IOwinContext, Task)

Dim instance As New UseHandlerMiddleware(next, handler)
public UseHandlerMiddleware(
    Func<IDictionary<string, Object>, Task> next,
    Func<IOwinContext, Task> handler
)
public:
UseHandlerMiddleware(
    Func<IDictionary<String^, Object^>^, Task^>^ next, 
    Func<IOwinContext^, Task^>^ handler
)
new : 
        next:Func<IDictionary<string, Object>, Task> * 
        handler:Func<IOwinContext, Task> -> UseHandlerMiddleware
public function UseHandlerMiddleware(
    next : Func<IDictionary<String, Object>, Task>, 
    handler : Func<IOwinContext, Task>
)

Parameters

See Also

Reference

UseHandlerMiddleware Class

UseHandlerMiddleware Overload

Microsoft.Owin.Extensions Namespace