Interface IBehaviorResilienceExceptionClassifier
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Resilience
Assembly: Cephalon.Abstractions.dll
Classifies behavior-execution exceptions for resilience handling.
public interface IBehaviorResilienceExceptionClassifierRemarks
Section titled “Remarks”This contract lets hosts or companion packs decide which failures should count toward circuit-breaker style failure accounting and which ones should stay outside resilience automation because they represent business or validation outcomes.
Methods
Section titled “Methods”Classify(BehaviorResilienceExceptionContext)
Section titled “ Classify(BehaviorResilienceExceptionContext)”Classifies one behavior-execution exception.
BehaviorResilienceExceptionHandling Classify(BehaviorResilienceExceptionContext context)Parameters
Section titled “Parameters”context BehaviorResilienceExceptionContext
The exception context being evaluated.
Returns
Section titled “Returns”BehaviorResilienceExceptionHandling
The resilience-handling mode that should apply.