Metoda Název metody obsahuje objekt X, ale nadřazený typ Název typu neobsahuje atribut ServiceContractAttribute. Objekt X lze použít pouze pro metody v typech ServiceContractAttribute.
Click to search this error in Google
English version
Method 'Method name' has X, but enclosing type 'Type Name' does not have ServiceContractAttribute. X can only be used on methods in ServiceContractAttribute types.