OwinStartupAttribute Constructor
Initializes a new instance of the OwinStartupAttribute class.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Overload List
Name | Description | |
---|---|---|
OwinStartupAttribute(String, Type) | Initializes a new instance of the OwinStartupAttribute class |
|
OwinStartupAttribute(String, Type, String) | Initializes a new instance of the OwinStartupAttribute class |
|
OwinStartupAttribute(Type) | Initializes a new instance of the OwinStartupAttribute class |
|
OwinStartupAttribute(Type, String) | Initializes a new instance of the OwinStartupAttribute class |
See Also
OwinStartupAttribute Class
Microsoft.Owin Namespace
Return to top
OwinStartupAttribute Constructor (String, Type)
Initializes a new instance of the OwinStartupAttribute class
Syntax
public OwinStartupAttribute(
string friendlyName,
Type startupType
)
public:
OwinStartupAttribute(
String^ friendlyName,
Type^ startupType
)
new :
friendlyName:string *
startupType:Type -> OwinStartupAttribute
Public Sub New (
friendlyName As String,
startupType As Type
)
Parameters
friendlyName
Type: System.StringA non-default configuration, e.g. staging.
startupType
Type: System.TypeThe startup class
Return to top
OwinStartupAttribute Constructor (String, Type, String)
Initializes a new instance of the OwinStartupAttribute class
Syntax
public OwinStartupAttribute(
string friendlyName,
Type startupType,
string methodName
)
public:
OwinStartupAttribute(
String^ friendlyName,
Type^ startupType,
String^ methodName
)
new :
friendlyName:string *
startupType:Type *
methodName:string -> OwinStartupAttribute
Public Sub New (
friendlyName As String,
startupType As Type,
methodName As String
)
Parameters
friendlyName
Type: System.StringA non-default configuration, e.g. staging.
startupType
Type: System.TypeThe startup class
methodName
Type: System.StringSpecifies which method to call
Return to top
OwinStartupAttribute Constructor (Type)
Initializes a new instance of the OwinStartupAttribute class
Syntax
public OwinStartupAttribute(
Type startupType
)
public:
OwinStartupAttribute(
Type^ startupType
)
new :
startupType:Type -> OwinStartupAttribute
Public Sub New (
startupType As Type
)
Parameters
startupType
Type: System.TypeThe startup class
Return to top
OwinStartupAttribute Constructor (Type, String)
Initializes a new instance of the OwinStartupAttribute class
Syntax
public OwinStartupAttribute(
Type startupType,
string methodName
)
public:
OwinStartupAttribute(
Type^ startupType,
String^ methodName
)
new :
startupType:Type *
methodName:string -> OwinStartupAttribute
Public Sub New (
startupType As Type,
methodName As String
)
Parameters
startupType
Type: System.TypeThe startup class
methodName
Type: System.StringSpecifies which method to call
Return to top