Akka.Actor.PreRestartException.PreRestartException C# (CSharp) 메소드

PreRestartException() 공개 메소드

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 .
리턴 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