Table of Contents

Class OperationRestoreCompletedEventArgs

Namespace
WorkflowForge.Events
Assembly
WorkflowForge.dll

Event arguments for operation restore completed events. Fired when an operation's restoration (compensation/rollback) completes successfully.

public sealed class OperationRestoreCompletedEventArgs : BaseWorkflowForgeEventArgs
Inheritance
OperationRestoreCompletedEventArgs
Inherited Members

Constructors

OperationRestoreCompletedEventArgs(IWorkflowOperation, IWorkflowFoundry, TimeSpan)

Initializes a new instance of the OperationRestoreCompletedEventArgs class.

public OperationRestoreCompletedEventArgs(IWorkflowOperation operation, IWorkflowFoundry foundry, TimeSpan duration)

Parameters

operation IWorkflowOperation

The operation that was restored.

foundry IWorkflowFoundry

The workflow foundry.

duration TimeSpan

The restoration duration.

Properties

CompletedAt

Gets the timestamp when restoration completed.

public DateTimeOffset CompletedAt { get; }

Property Value

DateTimeOffset

Duration

Gets the restoration duration.

public TimeSpan Duration { get; }

Property Value

TimeSpan

Operation

Gets the operation that was restored.

public IWorkflowOperation Operation { get; }

Property Value

IWorkflowOperation