Freigeben über


BootstrapperAttribute Klasse

Definition

Gibt die Implementierung an, die IBootstrapper als Einstiegspunkt zum Starten des Diensts verwendet werden soll. Es kann nur eine solche instance gleichzeitig aktiv sein.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false)]
public sealed class BootstrapperAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false)>]
type BootstrapperAttribute = class
    inherit Attribute
Public NotInheritable Class BootstrapperAttribute
Inherits Attribute
Vererbung
BootstrapperAttribute
Attribute

Konstruktoren

BootstrapperAttribute(Type)

Erstellt eine neue instance der BootstrapperAttribute Identifizierung der Implementierung, die IBootstrapper als Einstiegspunkt für das Starten des Diensts verwendet werden soll.

Eigenschaften

BootstrapperType

Ruft den IBootstrapper an, der den Einstiegspunkt zum Starten des Diensts bereitstellt.

Gilt für: