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 (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Protected Overridable Function CreateServiceManager As ServiceManager
'Usage
Dim returnValue As ServiceManager
returnValue = Me.CreateServiceManager()
protected virtual ServiceManager CreateServiceManager()
protected:
virtual ServiceManager^ CreateServiceManager()
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<ServiceType>.
.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