Click or drag to resize

Fault Methods

The Fault type exposes the following members.

Methods
  NameDescription
Public methodStatic memberErrorCodeEnumToMessage
Get corresponding message for the error code from the TypeText.resx ressource file. The format of the ressource string name is: ErrorCodeEnum + ErrorCodeEnum.Value. Example: "ErrorCodeEnum.InvalidRentalObjectNo".
Public methodStatic memberExtractPossibleErrorCode
Extract a possible ErrorCodeEnum value from the exception. The are 5 possible generic exception types where the exception is derived from FaultExceptionTDetail and the TDetail contains an error code field and they are: FaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetail If the exception is not derived from one the above listed types then Error is returned.
Public methodToString
Override ToString to include the unique id in exceptions dumps.
(Overrides ObjectToString.)
Top
See Also