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 les méthodes OperationContract asynchrones « <var>X</var> » et « <var>Y</var> » car elles contiennent le même nom d’opération « <var>Z</var> ». Lorsqu’une méthode OperationContract synchrone est mise en correspondance avec une paire de méthodes OperationContract asynchrones, les deux méthodes OperationContract doivent définir le même type de renvoi. Dans ce cas, les types de renvoi sont différents. Pour corriger le problème, vérifiez que les méthodes « <var>Method name</var> » et « <var>Y</var> » présentent le même type de renvoi. D’une autre manière, le changement du nom de l’une des méthodes va éviter la correspondance.

Unlocalized message

The synchronous OperationContract method '<var>Method name</var>' in type '<var>Type Name</var>' was matched with the asynchronous OperationContract methods '<var>X</var>' and '<var>Y</var>' because they have the same operation name '<var>Z</var>'. When a synchronous OperationContract method is matched to a pair of asynchronous OperationContract methods, 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>Y</var>' have the same return type. Alternatively, changing the name of one of the methods will prevent matching.

Search by Google
Available localized messages
Arabic (العربية) Chinese (Simplified) (中文(简体)) Chinese (Traditional) (中文(繁體)) Czech (Čeština) Finnish (suomi) German (Deutsch) Greek (Ελληνικά) Hebrew (עברית) Prior (Message) Hungarian (magyar) Italian (Italiano) Japanese (日本語) Korean (한국어) Norwegian (Bokmal) (Norsk (Bokmål)) Polish (Polski) Portuguese (Brazil) (Português (Brasil)) Russian (Русский) Danish (Dansk) Next (Message) Dutch (Nederlands) Chinese (Simplified) (中文(简体)) Spanish (Español) Swedish (Svenska) Turkish (Türkçe) Chinese (Traditional) (中文(繁體))