ServicesFactory.Create Method (String)

Creates a specified service provider with a given file settings.

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

Syntax

'Declaration
Public Shared Function Create ( _
    settingsFile As String _
) As IServiceProvider
'Usage
Dim settingsFile As String 
Dim returnValue As IServiceProvider 

returnValue = ServicesFactory.Create(settingsFile)
public static IServiceProvider Create(
    string settingsFile
)
public:
static IServiceProvider^ Create(
    String^ settingsFile
)
static member Create : 
        settingsFile:string -> IServiceProvider
public static function Create(
    settingsFile : String
) : IServiceProvider

Parameters

Return Value

Type: System.IServiceProvider
The created service provider.

See Also

Reference

ServicesFactory Class

Create Overload

Microsoft.Owin.Hosting.Services Namespace