The OperationContractAttribute declared on method '{0}' in type '{1}' is invalid. OperationContractAttributes are only valid ...

The OperationContractAttribute declared on method '{0}' in type '{1}' is invalid. OperationContractAttributes are only valid on methods that are declared in a type that has ServiceContractAttribute. Either add ServiceContractAttribute to type '{1}' or remove OperationContractAttribute from method '{0}'.
English
English (United States)
日本語
Japanese