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
Available localized messages
Korean (한국어) Norwegian (Bokmal) (Norsk (Bokmål)) Polish (Polski) Portuguese (Brazil) (Português (Brasil)) Russian (Русский) Spanish (Español) Swedish (Svenska) Turkish (Türkçe) Prior (Message) Chinese (Simplified) (中文(简体)) Chinese (Traditional) (中文(繁體)) Arabic (العربية) Danish (Dansk) Dutch (Nederlands) Finnish (suomi) French (Français) Next (Message) German (Deutsch) Greek (Ελληνικά) Hebrew (עברית) Hungarian (magyar) Japanese (日本語) Italian (Italiano)