Multiple choice technology web technology

Which contract is used to document the errors occurred in the service to client?

  1. ErrorContract

  2. FaultContract

  3. MessageContract

  4. OperationContract

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

FaultContract is used to specify the types of SOAP faults that a service operation can throw to clients. By declaring fault contracts, services document possible error conditions, enabling structured, interoperable error handling that works across different platforms and languages.