FailuresAccessor.GetAttemptedResolutionTypes
Method
Description:
Returns list of the failure resolution types attempted for the failure in the current transaction.
Returns list of the failure resolution types attempted for the failure in the current transaction.
Remarks:
In some cases attempt to resolve a failure has no impact or failure gets reposted during next round of the end of transaction checks after being resolved. Knowing if any failure resolutions were attempted for the failure allows failures processor to prevent infinite loop.
In some cases attempt to resolve a failure has no impact or failure gets reposted during next round of the end of transaction checks after being resolved. Knowing if any failure resolutions were attempted for the failure allows failures processor to prevent infinite loop.
Syntax
public IList<FailureResolutionType> GetAttemptedResolutionTypes(
FailureMessageAccessor failure
)
Parameters
Parameter | Type | Description |
---|---|---|
failure | FailureMessageAccessor | The failure. |
Return Value
Type | Description |
---|---|
IList | The list of the types of failure resolutions attempted for the failure. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | failure has not been properly initialized. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | This FailuresAccessor is inactive (is used outside of failures processing). |