Message in Spanish (Español)

El método '<var>Method name</var>' OperationContract sincrónico en el tipo '<var>Type Name</var>' coincide con el método '<var>X</var>' OperationContract asincrónico basado en tareas porque tienen el mismo nombre de operación 'X'. Cuando un método OperationContract sincrónico coincide con un método OperationContract asincrónico basado en tareas, los dos métodos OperationContract deben definir el mismo tipo de devolución. En este caso, los tipos de devolución son diferentes. Para solucionarlo, asegúrese de que ese método '<var>Method name</var>' y el método '<var>X</var>' tienen el mismo tipo de devolución. También puede cambiar el nombre de uno de los métodos para evitar que coincidan.

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
Available localized messages
Korean (한국어) Norwegian (Bokmal) (Norsk (Bokmål)) Polish (Polski) Portuguese (Brazil) (Português (Brasil)) Russian (Русский) 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)