PolicyResult
The captured result of executing a policy.
Gets the context for this execution.
Gets the exception type of the final exception captured. Will be null if policy executed successfully.
Gets the final exception captured. Will be null if policy executed successfully.
Gets the outcome of executing the policy.
public static PolicyResult Failure(Exception exception, ExceptionType exceptionType, Context context)
Builds a PolicyResult representing a failed execution through the policy.
Builds a PolicyResult representing a successful execution through the policy.