AppDomainProtocolHandler.InitializeLifetimeService 方法
定义
通过阻止创建租约来给予协议处理程序无限生存期。Gives the protocol handler an infinite lifetime by preventing a lease from being created.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
override System::Object ^ InitializeLifetimeService();
public override object InitializeLifetimeService ();
override this.InitializeLifetimeService : unit -> obj
Public Overrides Function InitializeLifetimeService () As Object
返回
如果启动了服务,则为 true;否则为 false。true if the service is initiated; otherwise, false.
注解
有关详细信息,请参见版本和依赖关系。For more information, see Versions and Dependencies.