Click or drag to resize
Akka.NETActorSystemRegisterOnTermination Method

Registers a block of code (callback) to run after ActorSystem.shutdown has been issued and all actors in this actor system have been stopped. Multiple code blocks may be registered by calling this method multiple times.

The callbacks will be run sequentially in reverse order of registration, i.e. last registration is run first.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public abstract void RegisterOnTermination(
	Action code
)

Parameters

code
Type: SystemAction
The code to run
Exceptions
ExceptionCondition
Exception This exception is thrown if the system has already shut down or if shutdown has been initiated.
See Also