共用方式為


BootstrapperAttribute Class

Definition

Identifies the IBootstrapper implementation to use as entry point for starting the service. There can only be one such instance active at a time.

[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
Inheritance
BootstrapperAttribute
Attributes

Constructors

BootstrapperAttribute(Type)

Creates a new instance of the BootstrapperAttribute identifying the IBootstrapper implementation to use as entry point for starting the service.

Properties

BootstrapperType

Gets the IBootstrapper providing the entry point for starting the service.

Applies to