Platform Symphony .NET API Reference - Version 5.0
InterruptEvent Class
NamespacesPlatform.Symphony.SoamInterruptEvent
An object that encapsulates an interruption of the service.
Declaration Syntax
C#
public sealed class InterruptEvent
Members
All MembersProperties



IconMemberDescription
EventCode
Gets the interrupt event code. Value can be one of:
  • InterruptEventCode.None
  • InterruptEventCode.TaskKilled
  • InterruptEventCode.TaskSuspended

GracePeriod
Returns the interrupt grace period. The service will have this much time in which to clean up, before being forcefully killed.

Remarks
This object encapsulates following information:
  • an event code, to determine the type of event that occurred
  • a grace period, which indicates how much time the service will have to react to the event before being forcefully killed
  • Get the last InterruptEvent from the ServiceContext.
    Inheritance Hierarchy
    Object
    InterruptEvent
    See Also

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