Akka.Actor.PreRestartException.PreRestartException C# (CSharp) Method

PreRestartException() public method

Initializes a new instance of the PreRestartException class.
public PreRestartException ( IActorRef actor, Exception restartException, Exception cause, object optionalMessage ) : System
actor IActorRef The actor whose hook failed.
restartException System.Exception The exception thrown by the within .
cause System.Exception The exception which caused the restart in the first place.
optionalMessage object The message which was optionally passed into .
return System
        public PreRestartException(IActorRef actor, Exception restartException, Exception cause, object optionalMessage)
        {
            Actor = actor;
            e = restartException;
            exception = cause;
            this.optionalMessage = optionalMessage;
        }

Same methods

PreRestartException::PreRestartException ( SerializationInfo info, StreamingContext context ) : System
PreRestartException