HostingStartupAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marker attribute indicating an implementation of IHostingStartup that will be loaded and executed when building an IWebHost.
public ref class HostingStartupAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class HostingStartupAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)>]
type HostingStartupAttribute = class
inherit Attribute
Public NotInheritable Class HostingStartupAttribute
Inherits Attribute
- Inheritance
-
HostingStartupAttribute
- Attributes
Constructors
HostingStartupAttribute(Type) |
Constructs the HostingStartupAttribute with the specified type. |
Properties
HostingStartupType |
The implementation of IHostingStartup that should be loaded when starting an application. |