Message in Russian (Русский)

Асинхронный метод на основе задачи OperationContract "<var>Method name</var>" типа "<var>Type Name</var>" был сопоставлен с асинхронными методами OperationContract "<var>X</var>" и "<var>Y</var>", поскольку они имеют одно и то же имя операции "<var>Z</var>". Если синхронный метод OperationContract сопоставлен с парой асинхронных методов OperationContract, эти два контракта OperationContract должны определять одинаковый тип возвращаемого значения. В данном случае типы возвращаемого значения различны. Чтобы разрешить эту проблему, убедитесь, что метод "<var>Method name</var>" и метод "<var>Y</var>" имеют один и тот же тип возвращаемого значения. Можно также изменить имя одного из методов, чтобы предотвратить совпадение.

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) Portuguese (Brazil) (Português (Brasil)) 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 (Ελληνικά)