Message in German (Deutsch)

Die synchrone OperationContract-Methode "<var>Method name</var>" im Typ "<var>Type Name</var>" wurde der taskbasierten asynchronen OperationContract-Methode "<var>X</var>" zugeordnet, da die Methoden über den gleichen Vorgangsnamen "X" verfügen. Wenn eine synchrone OperationContract-Methode einer taskbasierten asynchronen OperationContract-Methode zugeordnet wird, müssen die beiden OperationContracts den gleichen Rückgabetyp definieren. In diesem Fall unterscheiden sich die Rückgabetypen. Stellen Sie sicher, dass die Methode "<var>Method name</var>" und die Methode "<var>X</var>" über den gleichen Rückgabetyp verfügen, um dieses Problem zu korrigieren. Alternativ können Sie den Namen einer der Methoden ändern, um eine Zuordnung zu verhindern.

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