AppLoader.Load Method
Executes the loader, searching for the entry point by name.
Namespace: Microsoft.Owin.Hosting.Loader
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Syntax
'Declaration
Public Overridable Function Load ( _
appName As String, _
errors As IList(Of String) _
) As Action(Of IAppBuilder)
'Usage
Dim instance As AppLoader
Dim appName As String
Dim errors As IList(Of String)
Dim returnValue As Action(Of IAppBuilder)
returnValue = instance.Load(appName, errors)
public virtual Action<IAppBuilder> Load(
string appName,
IList<string> errors
)
public:
virtual Action<IAppBuilder^>^ Load(
String^ appName,
IList<String^>^ errors
)
abstract Load :
appName:string *
errors:IList<string> -> Action<IAppBuilder>
override Load :
appName:string *
errors:IList<string> -> Action<IAppBuilder>
public function Load(
appName : String,
errors : IList<String>
) : Action<IAppBuilder>
Parameters
- appName
Type: System.String
The name of the assembly and type entry point.
- errors
Type: System.Collections.Generic.IList<String>
The error collection.
Return Value
Type: System.Action<IAppBuilder>
The Action<T> object that represents the loading operation.
Implements
IAppLoader.Load(String, IList<String>)