Class BehaviorResilienceRuntimeDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Resilience
Assembly: Cephalon.Abstractions.dll
Describes one effective behavior-execution resilience policy exposed by the current runtime.
public sealed record BehaviorResilienceRuntimeDescriptor : IEquatable<BehaviorResilienceRuntimeDescriptor>Inheritance
Section titled “Inheritance”object ← BehaviorResilienceRuntimeDescriptor
Implements
Section titled “Implements”IEquatable<BehaviorResilienceRuntimeDescriptor>
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”BehaviorResilienceRuntimeDescriptor(string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, BehaviorExecutionResilienceSelection, BehaviorExecutionResilienceSelection, IReadOnlyDictionary<string, string>)
Section titled “ BehaviorResilienceRuntimeDescriptor(string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, BehaviorExecutionResilienceSelection, BehaviorExecutionResilienceSelection, IReadOnlyDictionary<string, string>)”Describes one effective behavior-execution resilience policy exposed by the current runtime.
public BehaviorResilienceRuntimeDescriptor(string Id, string DisplayName, string Description, string ExecutionMode, string Scope, IReadOnlyList<string> BehaviorIds, IReadOnlyList<string> TransportIds, BehaviorExecutionResilienceSelection Requested, BehaviorExecutionResilienceSelection Effective, IReadOnlyDictionary<string, string> Metadata)Parameters
Section titled “Parameters”Id string
The stable runtime policy identifier.
DisplayName string
The human-readable policy name.
Description string
The human-readable policy description.
ExecutionMode string
The enforcement mode used by the active runtime, such as behavior-dispatch-middleware or contract-only.
Scope string
The runtime scope covered by the policy, such as all-behavior-executions.
BehaviorIds IReadOnlyList<string>
The behavior identifiers covered by the policy when it is scoped to a behavior subset.
TransportIds IReadOnlyList<string>
The transport identifiers covered by the policy when it is scoped to a transport subset.
Requested BehaviorExecutionResilienceSelection
The requested behavior-execution resilience contract.
Effective BehaviorExecutionResilienceSelection
The effective behavior-execution resilience contract after runtime normalization.
Metadata IReadOnlyDictionary<string, string>
Additional runtime-specific metadata describing the policy.
Properties
Section titled “Properties”BehaviorIds
Section titled “ BehaviorIds”The behavior identifiers covered by the policy when it is scoped to a behavior subset.
public IReadOnlyList<string> BehaviorIds { get; init; }Property Value
Section titled “Property Value”Description
Section titled “ Description”The human-readable policy description.
public string Description { get; init; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”The human-readable policy name.
public string DisplayName { get; init; }Property Value
Section titled “Property Value”Effective
Section titled “ Effective”The effective behavior-execution resilience contract after runtime normalization.
public BehaviorExecutionResilienceSelection Effective { get; init; }Property Value
Section titled “Property Value”BehaviorExecutionResilienceSelection
ExecutionMode
Section titled “ ExecutionMode”The enforcement mode used by the active runtime, such as behavior-dispatch-middleware or contract-only.
public string ExecutionMode { get; init; }Property Value
Section titled “Property Value”The stable runtime policy identifier.
public string Id { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Additional runtime-specific metadata describing the policy.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Requested
Section titled “ Requested”The requested behavior-execution resilience contract.
public BehaviorExecutionResilienceSelection Requested { get; init; }Property Value
Section titled “Property Value”BehaviorExecutionResilienceSelection
The runtime scope covered by the policy, such as all-behavior-executions.
public string Scope { get; init; }Property Value
Section titled “Property Value”TransportIds
Section titled “ TransportIds”The transport identifiers covered by the policy when it is scoped to a transport subset.
public IReadOnlyList<string> TransportIds { get; init; }