Click or drag to resize
Akka.NETSwitchIfOff Method
Executes the provided action and returns if the action was executed or not, if the switch is IMMEDIATELY off (i.e. no lock involved)

Namespace:  Akka.Util
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public bool IfOff(
	Action action
)

Parameters

action
Type: SystemAction
The action.

Return Value

Type: Boolean
Return true if the switch was off
See Also