Message in Polish (Polski)
Metoda synchroniczna klasy OperationContract „<var>Method name</var>” w typie „<var>Type Name</var>” została dopasowana do metod asynchronicznych klasy OperationContract „<var>X</var>” i „<var>Y</var>”, ponieważ mają tę samą nazwę operacji „<var>Z</var>”. Gdy metoda synchroniczna klasy OperationContract zostanie dopasowana do pary metod asynchronicznych klasy OperationContract, w obu klasach OperationContract musi być zdefiniowany ten sam typ zwracanej wartości. W tym przypadku wartości zwracane są różnych typów. Aby to naprawić, dopilnuj, aby metody „<var>Method name</var>” i „<var>Y</var>” miały te same typy zwracanych wartości. Ewentualnie można uniemożliwić dopasowanie, zmieniając nazwę jednej z metod.
Unlocalized message
The synchronous OperationContract method '<var>Method name</var>' in type '<var>Type Name</var>' was matched with the asynchronous OperationContract methods '<var>X</var>' and '<var>Y</var>' because they have the same operation name '<var>Z</var>'. When a synchronous OperationContract method is matched to a pair of asynchronous OperationContract methods, 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>Y</var>' have the same return type. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google