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

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

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
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) Greek (Ελληνικά) Hebrew (עברית) Hungarian (magyar) Japanese (日本語) Italian (Italiano)