Message in Portuguese (Brazil) (Português (Brasil))
O método síncrono OperationContract '<var>Method name</var>' no tipo '<var>Type Name</var>' foi correspondido com os métodos assíncronos OperationContract '<var>X</var>' e '<var>Y</var>' porque têm o mesmo nome de operação '<var>Z</var>'. Quando um método síncrono OperationContract é correspondido a um par de métodos assíncronos OperationContract, os dois OperationContracts devem definir o mesmo tipo de retorno. Neste caso, os tipos de retorno são diferentes. Para reparar isso, verifique se o método '<var>Method name</var>' e o '<var>Y</var>' têm o mesmo tipo de retorno. Como alternativa, trocar o nome de um dos métodos evitará a correspondência.
Unlocalized message
The synchronous OperationContract method '<var>Method name</var>' in type '<var>Type Name</var>' was matched with the asynchronous OperationContract methods '<var>X</var>' and '<var>Y</var>' because they have the same operation name '<var>Z</var>'. When a synchronous OperationContract method is matched to a pair of asynchronous OperationContract methods, the two OperationContracts must define the same return type. In this case, the return types are different. To fix it, ensure that method '<var>Method name</var>' and method '<var>Y</var>' have the same return type. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google