PolicyResult
The captured result of executing a policy
The context for this execution.
The exception type of the final exception captured. Will be null if policy executed successfully
The final exception captured. Will be null if policy executed successfully
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.