Class PolicyEvaluationTimeoutException
Exception thrown when policy evaluation exceeds the configured timeout.
Inheritance
PolicyEvaluationTimeoutException
Implements
Inherited Members
Namespace: ModularityKit.Mutator.Abstractions.Exceptions
Assembly: ModularityKit.Mutator.dll
Syntax
public sealed class PolicyEvaluationTimeoutException : PolicyEvaluationException, ISerializable
Remarks
Initializes new instance of PolicyEvaluationTimeoutException.
Constructors
| Edit this page View SourcePolicyEvaluationTimeoutException(string, TimeSpan)
Exception thrown when policy evaluation exceeds the configured timeout.
Declaration
public PolicyEvaluationTimeoutException(string policyName, TimeSpan timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| string | policyName | The policy name. |
| TimeSpan | timeout | The configured timeout. |
Remarks
Initializes new instance of PolicyEvaluationTimeoutException.
Properties
| Edit this page View SourceTimeout
The configured timeout for policy evaluation.
Declaration
public TimeSpan Timeout { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |