internal WorkflowCancelRequestFailedEvent(HistoryEvent cancelRequestFailedEvent) : base(cancelRequestFailedEvent.EventId) { _eventAttributes = cancelRequestFailedEvent.RequestCancelExternalWorkflowExecutionFailedEventAttributes; }
internal ExternalWorkflowCancelRequestFailedEvent(HistoryEvent cancelRequestFailedEvent) : base(cancelRequestFailedEvent) { _eventAttributes = cancelRequestFailedEvent.RequestCancelExternalWorkflowExecutionFailedEventAttributes; ScheduleId = ScheduleId.Raw(_eventAttributes.WorkflowId); }