Switch..::..IfOff 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)

Syntax


public bool IfOff(
	Action action
)
Public Function IfOff ( _
	action As Action _
) As Boolean
public:
bool^ IfOff(
	Action^ action
)

Parameters

action
Type: Action
The action.

Return Value

Return true if the switch was off