HostingStartupAttribute 類別

定義

標記屬性, IHostingStartup 表示 在建置 時載入和執行的 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
繼承
HostingStartupAttribute
屬性

建構函式

HostingStartupAttribute(Type)

HostingStartupAttribute使用指定的型別建構 。

屬性

HostingStartupType

IHostingStartup啟動應用程式時應該載入的 實作。

適用於