EditingContext.CreateServiceManager 方法

定义

创建要从 Services 属性返回的服务管理器的实例。

protected:
 virtual System::Activities::Presentation::ServiceManager ^ CreateServiceManager();
protected virtual System.Activities.Presentation.ServiceManager CreateServiceManager ();
abstract member CreateServiceManager : unit -> System.Activities.Presentation.ServiceManager
override this.CreateServiceManager : unit -> System.Activities.Presentation.ServiceManager
Protected Overridable Function CreateServiceManager () As ServiceManager

返回

ServiceManager 对象。

注解

默认实现将创建一个 ServiceManager,它支持通过在设计编辑器管理器上声明 SubscribeContextCallback 特性来延迟激活设计编辑器管理器。

适用于