你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BootstrapperAttribute 类

定义

IBootstrapper标识要用作服务启动入口点的实现。 一次只能有一个此类实例处于活动状态。

[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
继承
BootstrapperAttribute
属性

构造函数

BootstrapperAttribute(Type)

创建 的新实例, BootstrapperAttribute 标识 IBootstrapper 要用作启动服务的入口点的 实现。

属性

BootstrapperType

获取提供 IBootstrapper 用于启动服务的入口点的 。

适用于