FailureMessage.AddResolution
Description:
Adds a resolution for the failure.
Adds a resolution for the failure.
Remarks:
Each pair of FailureResolutionType and FailureResolution must have been defined in FailureDefinition, and could only be added once.
Each pair of FailureResolutionType and FailureResolution must have been defined in FailureDefinition, and could only be added once.
public FailureMessage AddResolution(
FailureResolutionType type,
FailureResolution resolution
)
-
typeThe type of the resolution.
-
resolutionThe resolution.
-
type is not a valid resolution type for this FailureMessage. -or- resolution of type is not valid for this FailureMessage. -or- This FailureMessage already contains a resolution of type type.
-
A non-optional argument was NULL
-
A value passed for an enumeration argument is not a member of that enumeration
-
This FailureMessage is already posted to a document