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

方法“<var>Method name</var>”具有 OperationContractAttribute,但封闭类型“<var>Type Name</var>”没有 ServiceContractAttribute。OperationContractAttribute 只能用于 ServiceContractAttribute 类型中的方法或其 CallbackContract 类型。

Unlocalized message

Method '<var>Method name</var>' has OperationContractAttribute, but enclosing type '<var>Type Name</var>' does not have ServiceContractAttribute. OperationContractAttribute can only be used on methods in ServiceContractAttribute types or on their CallbackContract types.

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