Skip to content

Class DurableExecutionCompensationAction

Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll

Describes one operator-facing durable-execution compensation action available for a workflow stream.

public sealed class DurableExecutionCompensationAction

objectDurableExecutionCompensationAction

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

DurableExecutionCompensationAction(string, string?, string?, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ DurableExecutionCompensationAction(string, string?, string?, string?, string?, IReadOnlyDictionary<string, string>?)”

Initializes a new instance of the class.

public DurableExecutionCompensationAction(string id, string? displayName = null, string? description = null, string? triggerKind = null, string? compensationBehaviorId = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable compensation-action identifier within the durable workflow.

displayName string?

The operator-facing compensation-action name.

description string?

A human-readable description of what the compensation action does.

triggerKind string?

The operator-facing trigger kind for the compensation action, such as manual or on-failure.

compensationBehaviorId string?

The stable behavior identifier to invoke when the compensation action maps to another Cephalon behavior.

metadata IReadOnlyDictionary<string, string>?

Additional operator-facing metadata describing the compensation action.

Gets the stable behavior identifier to invoke when the compensation action maps to another Cephalon behavior.

public string? CompensationBehaviorId { get; }

string?

Gets the human-readable compensation-action description when one was supplied.

public string? Description { get; }

string?

Gets the operator-facing compensation-action name.

public string DisplayName { get; }

string

Gets the stable compensation-action identifier within the durable workflow.

public string Id { get; }

string

Gets additional operator-facing metadata describing the compensation action.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the operator-facing trigger kind for the compensation action.

public string TriggerKind { get; }

string