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 DurableExecutionCompensationActionInheritance
Section titled “Inheritance”object ← DurableExecutionCompensationAction
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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
public DurableExecutionCompensationAction(string id, string? displayName = null, string? description = null, string? triggerKind = null, string? compensationBehaviorId = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”CompensationBehaviorId
Section titled “ CompensationBehaviorId”Gets the stable behavior identifier to invoke when the compensation action maps to another Cephalon behavior.
public string? CompensationBehaviorId { get; }Property Value
Section titled “Property Value”Description
Section titled “ Description”Gets the human-readable compensation-action description when one was supplied.
public string? Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the operator-facing compensation-action name.
public string DisplayName { get; }Property Value
Section titled “Property Value”Gets the stable compensation-action identifier within the durable workflow.
public string Id { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets additional operator-facing metadata describing the compensation action.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
TriggerKind
Section titled “ TriggerKind”Gets the operator-facing trigger kind for the compensation action.
public string TriggerKind { get; }