Message in Chinese (Simplified) (中文(简体))

类型“<var>Type Name</var>”中基于任务的异步 OperationContract 方法“<var>Method name</var>”与异步 OperationContract 方法“<var>X</var>”和“<var>Y</var>”匹配,因为它们具有相同的操作名称“<var>Z</var>”。当基于任务的异步 OperationContract 方法与一对异步 OperationContract 方法匹配时,两个 OperationContract 必须定义相同数量和类型的形式参数。在本例中,某些实际参数不同。若要修复此问题,请确保 OperationContract 按相同顺序定义相同数量和类型的实际参数。或者,也可以更改其中一个方法的名称以防止匹配。

Unlocalized message

The task-based asynchronous 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 task-based asynchronous OperationContract method is matched to a pair of asynchronous OperationContract methods, the two OperationContracts must define the same number and types of parameters. In this case, some of the arguments are different. To fix it, ensure that the OperationContracts define the same number and types of arguments, in the same order. 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 (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 (עברית)