你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BootstrapperAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 用于启动服务的入口点的 。 |