Multiple choice technology web technology

Which is an invalid contracts in WCF?

  1. FaultContract

  2. OperationContract

  3. ServiceContract

  4. BehaviourContract

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

WCF defines ServiceContract, OperationContract, DataContract, MessageContract, and FaultContract as standard contract types. There is no BehaviourContract in WCF - behaviors are specified using attributes like [ServiceBehavior] and [OperationBehavior], which are not contracts.