Share

FailureDefinition Methods

The FailureDefinition type exposes the following members.

Methods

 NameDescription
Public methodAddResolutionType Adds a type of possible resolution for the failure.
Public methodStatic memberCode exampleCreateFailureDefinition Creates an instance of a FailureDefinition.
Public methodDispose 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetApplicableResolutionTypes Retrieves a list of resolution types applicable to the failure.
Public methodGetDefaultResolutionType Retrieves the default resolution type for the failure.
Public methodGetDescriptionText Retrieves the description text of the failure.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetResolutionCaption Retrieves the caption for a specific resolution type.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasResolutions Checks if the FailureDefinition has at least one resolution.
Public methodIsResolutionApplicable Checks if the given resolution type is applicable to the failure.
Public methodSetDefaultResolutionType Sets the default resolution type for the failure.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?