HostingStartupAttribute Klasa

Definicja

Atrybut znacznika wskazujący IHostingStartup implementację, która zostanie załadowana i wykonana podczas kompilowania obiektu 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
Dziedziczenie
HostingStartupAttribute
Atrybuty

Konstruktory

HostingStartupAttribute(Type)

Konstruuje obiekt HostingStartupAttribute o określonym typie.

Właściwości

HostingStartupType

Implementacja tej IHostingStartup funkcji powinna zostać załadowana podczas uruchamiania aplikacji.

Dotyczy