Message in Chinese (Traditional) (中文(繁體))

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