HostingStartupAttribute HostingStartupAttribute HostingStartupAttribute HostingStartupAttribute Class

Definition

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
type HostingStartupAttribute = class
    inherit Attribute
Public NotInheritable Class HostingStartupAttribute
Inherits Attribute
Inheritance
HostingStartupAttributeHostingStartupAttributeHostingStartupAttributeHostingStartupAttribute
Attributes

Constructors

HostingStartupAttribute(Type) HostingStartupAttribute(Type) HostingStartupAttribute(Type) HostingStartupAttribute(Type)

Constructs the HostingStartupAttribute with the specified type.

Properties

HostingStartupType HostingStartupType HostingStartupType HostingStartupType

The implementation of IHostingStartup that should be loaded when starting an application.

Applies to