| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New ConditionEnableEventHandler(AddressOf HandlerMethod) | |
| C# | |
|---|---|
public delegate ServiceResult ConditionEnableEventHandler( ISystemContext context, ConditionState condition, bool enabling ) | |
Parameters
- context
- The current system context.
- condition
- The condition that raised the event.
- enabling
- True if the condition is moving/has moved to the Enabled state.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x