Message in Czech (Čeština)
Synchronní metoda OperationContract <var>Method name</var> typu <var>Type Name</var> se shoduje s úlohově orientovanou asynchronní metodou OperationContract <var>X</var>, protože obě mají shodný název operace X. Pokud se synchronní metoda OperationContract shoduje s úlohově orientovanou asynchronní metodou OperationContract, musejí obě tyto metody OperationContract definovat stejný návratový typ. V tomto případě jsou tyto návratové typy rozdílné. Tento problém je možné odstranit tak, že zajistíte, aby metoda <var>Method name</var> i metoda <var>X</var> měly stejný návratový typ. Alternativně můžete shodě metod zabránit změnou názvu jedné z těchto metod.
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