Click or drag to resize
Akka.NETPreRestartException Constructor (IActorRef, Exception, Exception, Object)
Initializes a new instance of the PreRestartException class.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public PreRestartException(
	IActorRef actor,
	Exception restartException,
	Exception cause,
	Object optionalMessage
)

Parameters

actor
Type: Akka.ActorIActorRef
The actor whose PreRestart(Exception, Object) hook failed.
restartException
Type: SystemException
The exception thrown by the actor within PreRestart(Exception, Object).
cause
Type: SystemException
The exception which caused the restart in the first place.
optionalMessage
Type: SystemObject
The message which was optionally passed into PreRestart(Exception, Object).
See Also