EditingContext.CreateServiceManager Method
Creates an instance of the service manager to be returned from the Services property.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Protected Overridable Function CreateServiceManager As ServiceManager
protected virtual ServiceManager CreateServiceManager()
protected:
virtual ServiceManager^ CreateServiceManager()
abstract CreateServiceManager : unit -> ServiceManager
override CreateServiceManager : unit -> ServiceManager
protected function CreateServiceManager() : ServiceManager
Return Value
Type: Microsoft.Windows.Design.ServiceManager
An implementation of the ServiceManager class.
Remarks
The default implementation creates a ServiceManager that supports delayed activation of design editor managers through the declaration of a SubscribeServiceCallback<TServiceType>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design Namespace