AppBuilderUseExtensions.Run Method

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub Run ( _
    app As IAppBuilder, _
    handler As Func(Of IOwinContext, Task) _
)
'Usage
Dim app As IAppBuilder 
Dim handler As Func(Of IOwinContext, Task)

app.Run(handler)
public static void Run(
    this IAppBuilder app,
    Func<IOwinContext, Task> handler
)
[ExtensionAttribute]
public:
static void Run(
    IAppBuilder^ app, 
    Func<IOwinContext^, Task^>^ handler
)
static member Run : 
        app:IAppBuilder * 
        handler:Func<IOwinContext, Task> -> unit
public static function Run(
    app : IAppBuilder, 
    handler : Func<IOwinContext, Task>
)

Parameters

  • app
    Type: IAppBuilder

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAppBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).

See Also

Reference

AppBuilderUseExtensions Class

Owin Namespace