共用方式為


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 屬性延遲啟用設計工具編輯器管理員。

適用於