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

Синхронный метод OperationContract "<var>Method name</var>" класса "<var>Type Name</var>" был сопоставлен с асинхронным методом OperationContract на основе задачи "<var>X</var>", поскольку они используют одно и то же имя операции "X". Если синхронный метод OperationContract сопоставлен с асинхронным методом OperationContract на основе задачи, любые дополнительные атрибуты должны быть определены в синхронном методе OperationContract. В этом случае асинхронный метод на основе задачи OperationContract "<var>X</var>" имеет один или несколько атрибутов типа "Y". Чтобы разрешить эту проблему, удалите атрибут или атрибуты "Y" из метода "<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, any additional attributes must be declared on the synchronous OperationContract method. In this case, the task-based asynchronous OperationContract method '<var>X</var>' has one or more attributes of type 'Y'. To fix it, remove the 'Y' attribute or attributes from method '<var>X</var>'. 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 (Ελληνικά) Italian (Italiano) Japanese (日本語) Hungarian (magyar) Hebrew (עברית)