Click or drag to resize
ServiceServiceInterfaceEntry Method

Note: This API is now obsolete.

Returns the service implementation as registered within the system.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use CMS.Core.Service.Resolve<TService>() instead.")]
public static ServiceInterface Entry()

Return Value

Type: ServiceInterface
Exceptions
ExceptionCondition
ServiceResolutionException Thrown when resolution of ServiceInterface fails. This typically occurs when no implementing type for ServiceInterface is registered or the implementing type has dependencies which cannot be satisfied.
See Also