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

类型“<var>Method name</var>”中的方法“<var>X</var>”上声明的 OperationContractAttribute 无效。OperationContractAttributes 仅对具有 ServiceContractAttribute 的类型中声明的方法有效。请将 ServiceContractAttribute 添加到类型“<var>Method name</var>”,或者从方法“<var>X</var>”中删除 OperationContractAttribute。

Unlocalized message

The <var>X</var> declared on method '<var>Method name</var>' in type '<var>Type Name</var>' is invalid. <var>X</var>s are only valid on methods that are declared in a type that has ServiceContractAttribute. Either add ServiceContractAttribute to type '<var>Type Name</var>' or remove <var>X</var> from method '<var>Method name</var>'.

Search by Google
Available localized messages
Czech (Čeština) Danish (Dansk) Dutch (Nederlands) Finnish (suomi) French (Français) 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 (Русский) Spanish (Español) Next (Message) Swedish (Svenska) Turkish (Türkçe) Chinese (Simplified) (中文(简体)) Arabic (العربية) Chinese (Traditional) (中文(繁體)) Chinese (Traditional) (中文(繁體))