Interface IBehaviorResilienceRuntimeCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Resilience
Assembly: Cephalon.Abstractions.dll
Exposes the active behavior-execution resilience policies visible to the current runtime.
public interface IBehaviorResilienceRuntimeCatalogRemarks
Section titled “Remarks”This runtime-facing surface reports what the behavior dispatch pipeline actually enforces after
defaults and implementation limits have been applied. It complements the requested contract
projected through AppProfile.Resilience.
Properties
Section titled “Properties”Policies
Section titled “ Policies”Gets all behavior-execution resilience policies visible to the current runtime.
IReadOnlyList<BehaviorResilienceRuntimeDescriptor> Policies { get; }Property Value
Section titled “Property Value”IReadOnlyList<BehaviorResilienceRuntimeDescriptor>
Methods
Section titled “Methods”GetById(string)
Section titled “ GetById(string)”Gets one behavior-execution resilience policy by its stable identifier.
BehaviorResilienceRuntimeDescriptor? GetById(string policyId)Parameters
Section titled “Parameters”policyId string
The stable policy identifier to resolve.
Returns
Section titled “Returns”BehaviorResilienceRuntimeDescriptor?
The matching policy descriptor, or null when it is not active.
Resolve(string, string?)
Section titled “ Resolve(string, string?)”Resolves the effective behavior-execution resilience policy for one behavior and optional transport.
BehaviorResilienceRuntimeDescriptor? Resolve(string behaviorId, string? transportId = null)Parameters
Section titled “Parameters”behaviorId string
The stable behavior identifier to resolve.
transportId string?
The stable transport identifier when one is known.
Returns
Section titled “Returns”BehaviorResilienceRuntimeDescriptor?
The matched policy descriptor, including explicit disable overrides when one suppresses the default policy; otherwise null when no behavior-execution policy applies.