Message in Portuguese (Brazil) (Português (Brasil))
O método OperationContract '<var>Method name</var>' no tipo '<var>Type Name</var>' coincidiu com o método OperationContract assíncrono baseado em tarefa '<var>X</var>' porque eles têm o mesmo nome de operação 'X'. Quando um método OperationContract síncrono coincide com um método OperationContract assíncrono baseado em tarefa, os dois OperationContracts devem definir os mesmos números e tipos de parâmetros. Nesse caso, alguns dos argumentos são diferentes. Para corrigir isso, verifique se OperationContracts definem os mesmos números e tipos de argumentos, na mesma ordem. Alternativamente, a alteração do nome de um dos métodos impedirá a correspondência.
Unlocalized message
The synchronous OperationContract method '<var>Method name</var>' in type '<var>Type Name</var>' was matched with the task-based asynchronous OperationContract method '<var>X</var>' because they have the same operation name 'X'. When a synchronous OperationContract method is matched to a task-based asynchronous OperationContract method, the two OperationContracts must define the same number and types of parameters. In this case, some of the arguments are different. To fix it, ensure that the OperationContracts define the same number and types of arguments, in the same order. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google