ข้ามไปยังเนื้อหา

Class BehaviorExecutionResilienceSelection

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Resilience
Assembly: Cephalon.Abstractions.dll

Describes the subset of resilience policy selections that apply to behavior execution pipelines.

public sealed class BehaviorExecutionResilienceSelection

objectBehaviorExecutionResilienceSelection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

BehaviorExecutionResilienceSelection(RetrySelection?, TimeoutSelection?, CircuitBreakerSelection?, BulkheadSelection?, RateLimitingSelection?)

Section titled “ BehaviorExecutionResilienceSelection(RetrySelection?, TimeoutSelection?, CircuitBreakerSelection?, BulkheadSelection?, RateLimitingSelection?)”

Initializes a new instance of the class.

public BehaviorExecutionResilienceSelection(RetrySelection? retry = null, TimeoutSelection? timeout = null, CircuitBreakerSelection? circuitBreaker = null, BulkheadSelection? bulkhead = null, RateLimitingSelection? rateLimiting = null)

retry RetrySelection?

The retry selection that applies to behavior execution.

timeout TimeoutSelection?

The timeout selection that applies to behavior execution.

circuitBreaker CircuitBreakerSelection?

The circuit-breaker selection that applies to behavior execution.

bulkhead BulkheadSelection?

The bulkhead selection that applies to behavior execution.

rateLimiting RateLimitingSelection?

The rate-limiting selection that applies to behavior execution.

Gets the bulkhead selection that applies to behavior execution.

public BulkheadSelection Bulkhead { get; }

BulkheadSelection

Gets the circuit-breaker selection that applies to behavior execution.

public CircuitBreakerSelection CircuitBreaker { get; }

CircuitBreakerSelection

Gets an empty behavior-execution resilience selection.

public static BehaviorExecutionResilienceSelection Empty { get; }

BehaviorExecutionResilienceSelection

Gets a value indicating whether any behavior-execution resilience inputs were supplied.

public bool HasValues { get; }

bool

Gets the rate-limiting selection that applies to behavior execution.

public RateLimitingSelection RateLimiting { get; }

RateLimitingSelection

Gets the retry selection that applies to behavior execution.

public RetrySelection Retry { get; }

RetrySelection

Gets the timeout selection that applies to behavior execution.

public TimeoutSelection Timeout { get; }

TimeoutSelection