Message in French (Français)

La méthode OperationContract synchrone '<var>Method name</var>' dans le type '<var>Type Name</var>' a été mise en correspondance avec la méthode OperationContract asynchrone basée sur les tâches '<var>X</var>', car elles contiennent le même nom d'opération 'X'. Lorsqu'une méthode OperationContract synchrone est mise en correspondance avec une méthode OperationContract asynchrone basée sur les tâches, les deux méthodes OperationContract doivent définir le même type de retour. Dans ce cas, les types de retour sont différents. Pour corriger le problème, assurez-vous que la méthode '<var>Method name</var>' et la méthode '<var>X</var>' ont le même type de retour. D'une autre manière, le changement du nom de l'une des méthodes évite la mise en correspondance.

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 (Русский) Spanish (Español) Swedish (Svenska) Turkish (Türkçe) Prior (Message) Chinese (Simplified) (中文(简体)) Chinese (Traditional) (中文(繁體)) Arabic (العربية) Czech (Čeština) Danish (Dansk) Dutch (Nederlands) Finnish (suomi) Next (Message) German (Deutsch) Greek (Ελληνικά) Hebrew (עברית) Hungarian (magyar) Japanese (日本語) Italian (Italiano)