diff --git a/src/DurableTask.Core/History/ExecutionRewoundEvent.cs b/src/DurableTask.Core/History/ExecutionRewoundEvent.cs index c838e9eb2..4a9338156 100644 --- a/src/DurableTask.Core/History/ExecutionRewoundEvent.cs +++ b/src/DurableTask.Core/History/ExecutionRewoundEvent.cs @@ -39,6 +39,12 @@ public ExecutionRewoundEvent(int eventId, string? reason) this.Reason = reason; } + // Private ctor for JSON deserialization (required by some storage providers and out-of-proc executors) + ExecutionRewoundEvent() + : base(-1) + { + } + /// /// Gets the event type ///