Multiple choice technology programming languages

Which contract is used in WCF Service for Exceptions

  1. Message Contract

  2. Exception Contract

  3. Fault COntract

  4. None of the above

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

In Windows Communication Foundation (WCF), the Fault Contract (FaultContractAttribute) is used to declare which SOAP faults a service operation can throw. Message Contracts define headers/body structure, and Exception Contract is not a WCF contract.