Message in Portuguese (Brazil) (Português (Brasil))

O método OperationContract assíncrono baseado em tarefa '<var>Method name</var>' no tipo '<var>Type Name</var>' coincidiu com os métodos OperationContract assíncronos '<var>X</var>' e '<var>Y</var>' porque eles têm o mesmo nome da operação '<var>Z</var>'. Quando um método OperationContract síncrono coincide com um par de métodos OperationContract assíncronos, os dois OperationContracts devem definir o mesmo tipo de retorno. Nesse caso, os tipos de retorno são diferentes. Para corrigir isso, verifique se os métodos '<var>Method name</var>' '<var>Y</var>' têm o mesmo tipo de retorno. Alternativamente, a alteração do nome de um dos métodos impedirá a correspondência.

Unlocalized message

The task-based asynchronous 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
Available localized messages
Korean (한국어) Norwegian (Bokmal) (Norsk (Bokmål)) Polish (Polski) Russian (Русский) Spanish (Español) Swedish (Svenska) Turkish (Türkçe) Chinese (Simplified) (中文(简体)) Prior (Message) Chinese (Traditional) (中文(繁體)) Arabic (العربية) Czech (Čeština) Danish (Dansk) Dutch (Nederlands) Finnish (suomi) French (Français) Next (Message) German (Deutsch) Italian (Italiano) Japanese (日本語) Hungarian (magyar) Hebrew (עברית) Greek (Ελληνικά)