Message in Russian (Русский)
Синхронный метод OperationContract "<var>Method name</var>" класса "<var>Type Name</var>" был сопоставлен с асинхронным методом OperationContract на основе задачи "<var>X</var>", поскольку они используют одно и то же имя операции "X". Если синхронный метод OperationContract сопоставлен с асинхронным методом OperationContract на основе задачи, эти два контракта OperationContract должны определять одинаковый тип возвращаемого значения. В данном случае типы возвращаемого значения различны. Чтобы разрешить эту проблему, убедитесь, что метод "<var>Method name</var>" и метод "<var>X</var>" имеют один и тот же тип возвращаемого значения. Можно также изменить имя одного из методов, чтобы предотвратить совпадение.
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 return type. In this case, the return types are different. To fix it, ensure that method '<var>Method name</var>' and method '<var>X</var>' have the same return type. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google