Message in French (Français)
L’attribut OperationContractAttribute déclaré sur la méthode « <var>X</var> » dans le type « <var>Method name</var> » n’est pas valide. Les attributs OperationContractAttribute sont valides uniquement sur les méthodes qui sont déclarées dans un type contenant un attribut ServiceContractAttribute. Ajoutez ServiceContractAttribute au type « <var>Method name</var> » ou supprimez OperationContractAttribute de la méthode « <var>X</var> ».
Unlocalized message
The <var>X</var> declared on method '<var>Method name</var>' in type '<var>Type Name</var>' is invalid. <var>X</var>s are only valid on methods that are declared in a type that has ServiceContractAttribute. Either add ServiceContractAttribute to type '<var>Type Name</var>' or remove <var>X</var> from method '<var>Method name</var>'.
Search by Google