Share via


StartContext.ServerFactory Property

Gets or sets the factory used to instantiate the server.

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

Syntax

'Declaration
Public Property ServerFactory As IServerFactoryAdapter 
    Get 
    Set
'Usage
Dim instance As StartContext 
Dim value As IServerFactoryAdapter 

value = instance.ServerFactory

instance.ServerFactory = value
public IServerFactoryAdapter ServerFactory { get; set; }
public:
property IServerFactoryAdapter^ ServerFactory {
    IServerFactoryAdapter^ get ();
    void set (IServerFactoryAdapter^ value);
}
member ServerFactory : IServerFactoryAdapter with get, set
function get ServerFactory () : IServerFactoryAdapter 
function set ServerFactory (value : IServerFactoryAdapter)

Property Value

Type: Microsoft.Owin.Hosting.ServerFactory.IServerFactoryAdapter
The factory used to instantiate the server.

See Also

Reference

StartContext Class

Microsoft.Owin.Hosting.Engine Namespace