HostingStartupAttribute Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attribut marker indiquant une implémentation de qui sera chargée et exécutée lors de IHostingStartup la génération d’un 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
- Héritage
-
HostingStartupAttribute
- Attributs
Constructeurs
HostingStartupAttribute(Type) |
Construit avec le HostingStartupAttribute type spécifié. |
Propriétés
HostingStartupType |
Implémentation de IHostingStartup qui doit être chargée lors du démarrage d’une application. |
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour