| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New AlarmConditionShelveEventHandler(AddressOf HandlerMethod) | |
| C# | |
|---|---|
public delegate ServiceResult AlarmConditionShelveEventHandler( ISystemContext context, AlarmConditionState alarm, bool shelving, bool oneShot, double shelvingTime ) | |
Parameters
- context
- The current system context.
- alarm
- The alarm that raised the event.
- shelving
- True if the condition is being shelved.
- oneShot
- True if the condition is being until it goes inactive (i.e. OneShotShelve).
- shelvingTime
- How long to shelve the condition.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x