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 asynkron OperationContract-metod måste de två OperationContracts definiera samma returtyp. I det här fallet skiljer sig returtyperna åt. Åtgärda detta genom att se till att metod <var>Method name</var> och metod <var>X</var> har samma returtyp. Ändring av namnet på 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, the two OperationContracts must define the same return type. In this case, the return types are different. To fix it, ensure that method '<var>Method name</var>' and method '<var>X</var>' have the same return type. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google