Message in Czech (Čeština)
Synchronní metoda OperationContract <var>Method name</var> v typu <var>Type Name</var> byla spojena s asynchronními metodami OperationContract <var>X</var> a <var>Y</var>, protože mají stejný název operace <var>Z</var>. Když je synchronní metoda OperationContract spojena s párem asynchronních metod OperationContract, dvě metody OperationContract musejí definovat stejný návratový typ. V tomto případě se návratové typy liší. Pokud chcete situaci napravit, zajistěte, aby měly metody <var>Method name</var> a <var>Y</var> stejný návratový typ. Je také možné zabránit spojení změnou názvu jedné 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