Platform Symphony .NET API Reference - Version 5.0
OnCreateService Method (serviceContext)
NamespacesPlatform.Symphony.SoamServiceContainerOnCreateService(ServiceContext)
The middleware triggers the invocation of this handler just after a Service Instance is started.
Declaration Syntax
C#
public virtual void OnCreateService(
	ServiceContext serviceContext
)
Parameters
serviceContext (ServiceContext)
The context contains the information about the service that is required to create a service instance, and all of the functionality that a service will require throughout its lifetime.
Remarks
The application developer must put any service initialization into this handler. Default implementation does nothing.
Exceptions
ExceptionCondition
[Platform.Symphony.Soam.SoamException] The application developer can throw SoamException (or subclassed exceptions: FailureException or FatalException) from this method to indicate that an error occurred during the creation/initializion of the service instance.
See Also
[Platform.Symphony.Soam.ServiceContext]

Assembly: Platform.Symphony.Soam.Net (Module: Platform.Symphony.Soam.Net) Version: 5.0.0.0