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 方法 '<var>X</var>' 具有一或多個類型 'X' 的屬性。若要修正此問題,請移除 'X' 屬性,或移除方法 '<var>X</var>' 的屬性。另一種方式則是變更其中一種方法的名稱,便可避免相符的情況。

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, any additional attributes must be declared on the synchronous OperationContract method. In this case, the asynchronous OperationContract method '<var>X</var>' has one or more attributes of type 'X'. To fix it, remove the 'X' attribute or attributes from method '<var>X</var>'. Alternatively, changing the name of one of the methods will prevent matching.

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