La méthode '{0}' contient OperationContractAttribute, mais le type englobant '{1}' ne contient pas ServiceContractAttribute. ...

La méthode '{0}' contient OperationContractAttribute, mais le type englobant '{1}' ne contient pas ServiceContractAttribute. OperationContractAttribute est utilisable uniquement sur les méthodes dans les types ServiceContractAttribute ou sur leurs types CallbackContract.