Message in Finnish (suomi)
Synkronista OperationContract-menetelmää <var>Method name</var> tyypissä <var>Type Name</var> verrattiin tehtäväpohjaiseen asynkroniseen OperationContract-menetelmään <var>X</var>, koska niillä on sama toimintonimi X. Kun synkronoitua OperationContract-menetelmää verrataan tehtäväpohjaiseen asynkroniseen OperationContract-menetelmään, molempien OperationContract-menetelmien on määritettävä sama palautustyyppi. Tässä tapauksessa palautustyypit ovat erilaiset. Voit korjata tilanteen varmistamalla, että menetelmillä <var>Method name</var> ja <var>X</var> on sama palautustyyppi. Vertailu voidaan estää myös muuttamalla jommankumman menetelmän nimeä.
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