Class DurableExecutionRuntimeDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll
Describes one active durable-execution workflow visible to the current runtime.
public sealed class DurableExecutionRuntimeDescriptorInheritance
Section titled “Inheritance”object ← DurableExecutionRuntimeDescriptor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Remarks
Section titled “Remarks”This runtime-facing surface keeps durable workflow truth derived from the shared behavior topology and registered implementation types instead of inventing a host-only workflow registry. It is intentionally static and operator-facing: it describes the active durable contract shape, ownership, transports, and replay semantics rather than per-invocation state.
Constructors
Section titled “Constructors”DurableExecutionRuntimeDescriptor(string, string, string, string, string, string, string, string, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, bool, bool, IReadOnlyList<int>?, IReadOnlyDictionary<string, string>?)
Section titled “ DurableExecutionRuntimeDescriptor(string, string, string, string, string, string, string, string, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, bool, bool, IReadOnlyList<int>?, IReadOnlyDictionary<string, string>?)”Creates a durable-execution runtime descriptor.
public DurableExecutionRuntimeDescriptor(string id, string displayName, string description, string behaviorType, string inputType, string stateType, string outputType, string executionMode, string? sourceModuleId = null, IReadOnlyList<string>? transportIds = null, IReadOnlyList<string>? requiredFeatureFlagIds = null, bool eventSourcingEnabled = true, bool requiresEventStore = true, IReadOnlyList<int>? successStatusCodes = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”id string
The stable durable behavior identifier.
displayName string
The operator-facing durable workflow name.
description string
A human-readable description of the durable workflow.
behaviorType string
The concrete durable behavior implementation type name.
inputType string
The durable workflow input type name.
stateType string
The durable workflow replay-state type name.
outputType string
The durable workflow local output type name.
executionMode string
The replay mode used by the runtime, such as event-store-replay.
sourceModuleId string?
The owning module identifier when the workflow came from an explicit module-owned behavior.
transportIds IReadOnlyList<string>?
The transport identifiers that expose the durable workflow.
requiredFeatureFlagIds IReadOnlyList<string>?
The ordered feature-flag identifiers that must resolve to enabled before the workflow can execute.
eventSourcingEnabled bool
Indicates whether the authored behavior topology explicitly enables event sourcing for the workflow.
requiresEventStore bool
Indicates whether the runtime contract requires an IEventStore to execute truthfully.
successStatusCodes IReadOnlyList<int>?
The HTTP success status codes the shared durable execution strategy can return for local output, continuation-only work, pending timer/signal coordination, or completion without output.
metadata IReadOnlyDictionary<string, string>?
Additional operator-facing metadata describing replay semantics.
Properties
Section titled “Properties”BehaviorType
Section titled “ BehaviorType”Gets the concrete durable behavior implementation type name.
public string BehaviorType { get; }Property Value
Section titled “Property Value”Description
Section titled “ Description”Gets the human-readable durable workflow description.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the operator-facing durable workflow name.
public string DisplayName { get; }Property Value
Section titled “Property Value”EventSourcingEnabled
Section titled “ EventSourcingEnabled”Gets a value indicating whether the authored behavior topology explicitly enables event sourcing.
public bool EventSourcingEnabled { get; }Property Value
Section titled “Property Value”ExecutionMode
Section titled “ ExecutionMode”Gets the replay mode used by the active runtime.
public string ExecutionMode { get; }Property Value
Section titled “Property Value”Gets the stable durable behavior identifier.
public string Id { get; }Property Value
Section titled “Property Value”InputType
Section titled “ InputType”Gets the durable workflow input type name.
public string InputType { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets additional operator-facing metadata describing replay semantics.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
OutputType
Section titled “ OutputType”Gets the durable workflow local output type name.
public string OutputType { get; }Property Value
Section titled “Property Value”RequiredFeatureFlagIds
Section titled “ RequiredFeatureFlagIds”Gets the ordered feature-flag identifiers that gate workflow execution.
public IReadOnlyList<string> RequiredFeatureFlagIds { get; }Property Value
Section titled “Property Value”RequiresEventStore
Section titled “ RequiresEventStore”Gets a value indicating whether the runtime contract requires an IEventStore.
public bool RequiresEventStore { get; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”Gets the owning module identifier when one is known at runtime.
public string? SourceModuleId { get; }Property Value
Section titled “Property Value”StateType
Section titled “ StateType”Gets the durable workflow replay-state type name.
public string StateType { get; }Property Value
Section titled “Property Value”SuccessStatusCodes
Section titled “ SuccessStatusCodes”Gets the HTTP success status codes the shared durable strategy can return.
public IReadOnlyList<int> SuccessStatusCodes { get; }Property Value
Section titled “Property Value”TransportIds
Section titled “ TransportIds”Gets the transport identifiers that expose the durable workflow.
public IReadOnlyList<string> TransportIds { get; }