Message in Spanish (Español)

Se estableció la correspondencia del método OperationContract sincrónico '<var>Method name</var>' en el tipo '<var>Type Name</var>' con los métodos OperationContract asincrónicos '<var>X</var>' y '<var>Y</var>' porque tienen el mismo nombre de operación '<var>Z</var>'. Cuando se establece la correspondencia de un método OperationContract sincrónico con un par de métodos OperationContract asincrónicos, los dos métodos OperationContract deben definir el mismo tipo de valor devuelto. En este caso, los tipos de valor devueltos son diferentes. Para corregirlo, asegúrese de que el método '<var>Method name</var>' y el método '<var>Y</var>' tienen el mismo tipo de valor devuelto. Como alternativa, puede cambiar el nombre de uno de los métodos para evitar la correspondencia.

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