Platform Symphony .NET API Reference - Version 5.0
OnDestroyService Method
NamespacesPlatform.Symphony.SoamServiceContainerOnDestroyService()()()
The middleware triggers the invocation of this handler just before a Service Instance is destroyed.
Declaration Syntax
C#
public virtual void OnDestroyService()
Remarks
This handler should do any cleanup for any resources that were used in the [OnCreateService] method. Exceptions that are thrown in onDestroyService are not returned to the client, they are logged in the SIM log file. Default implementation does nothing.
Exceptions
ExceptionCondition
[SoamException] The application developer can throw SoamException (or subclassed exceptions: FailureException or FatalException) from this method to indicate that an error occurred during the destruction/uninitializion of the service instance.
See Also
[ServiceContainer.OnCreateService]

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