Platform Symphony .NET API Reference - Version 5.1
OnServiceInterrupt Method (serviceContext)
NamespacesPlatform.Symphony.SoamServiceContainerOnServiceInterrupt(ServiceContext)
The middleware triggers the invocation of this handler every time an interrupt arrives.
Declaration Syntax
C#
public virtual void OnServiceInterrupt(
	ServiceContext serviceContext
)
Parameters
serviceContext (ServiceContext)
The context contains the information about the service interrupt. This interrupt contains the interrupt type (InterruptTaskKilled or InterruptTaskSuspended) and the task grace period.
Remarks
The application developer must put any service interrupt handling code into this handler. Default implementation does nothing.
Exceptions
ExceptionCondition
[Platform.Symphony.Soam.SoamException] Any exception thrown in this method would be ignored.
See Also
[Platform.Symphony.Soam.ServiceContext]

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