ServerFactoryLoader.Load Method (String)
Executes the loader, searching for the server factory by name. Acceptable inputs: - null, empty, etc.. Scan for an assembly containing the type [Assembly.Name].ServerFactory. - Assembly.Name. Look for type Assembly.Name.ServerFactory in the assembly Assembly.Name. - Assembly.Name.FactoryName. Look for type Assembly.Name.FactoryName in the assembly Assembly.Name.
Namespace: Microsoft.Owin.Hosting.ServerFactory
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Syntax
public virtual IServerFactoryAdapter Load(
string serverName
)
public:
virtual IServerFactoryAdapter^ Load(
String^ serverName
)
abstract Load :
serverName:string -> IServerFactoryAdapter
override Load :
serverName:string -> IServerFactoryAdapter
Public Overridable Function Load (
serverName As String
) As IServerFactoryAdapter
Parameters
serverName
Type: System.StringThe name of the assembly and type of the server factory.
Return Value
Type: Microsoft.Owin.Hosting.ServerFactory.IServerFactoryAdapter
The server factory object being loaded.
Implements
IServerFactoryLoader.Load(String)
See Also
ServerFactoryLoader Class
Microsoft.Owin.Hosting.ServerFactory Namespace
Return to top