Message in Swedish (Svenska)
Den synkrona OperationContract-metoden <var>Method name</var> i typ <var>Type Name</var> matchades med den uppgiftsbaserade asynkrona OperationContract-metoden <var>X</var> eftersom de har samma åtgärdsnamn X. När en synkron OperationContract-metod matchas med en uppgiftsbaserad OperationContract-metod måste ytterligare attribut deklareras i den synkrona OperationContract-metoden. I det här fallet har den uppgiftsbaserade asynkrona OperationContract-metoden <var>X</var> ett eller flera attribut av typ Y. Åtgärda det genom att ta bort Y-attributen från metoden <var>X</var>. Ändring av namnet på en av metoderna förhindrar också matchning.
Unlocalized message
The synchronous OperationContract method '<var>Method name</var>' in type '<var>Type Name</var>' was matched with the task-based asynchronous OperationContract method '<var>X</var>' because they have the same operation name 'X'. When a synchronous OperationContract method is matched to a task-based asynchronous OperationContract method, any additional attributes must be declared on the synchronous OperationContract method. In this case, the task-based asynchronous OperationContract method '<var>X</var>' has one or more attributes of type 'Y'. To fix it, remove the 'Y' attribute or attributes from method '<var>X</var>'. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google