Message in Italian (Italiano)

Il metodo sincrono '<var>Method name</var>' OperationContract nel tipo '<var>Type Name</var>' è stato associato al metodo di attività asincrono '<var>X</var>' OperationContract perché hanno lo stesso nome di operazione 'X'. Quando un metodo sincrono OperationContract viene associato a un metodo di attività asincrono OperationContract, è necessario che per i due metodi OperationContract sia definito lo stesso tipo restituito. In questo caso i tipi restituiti sono differenti. Per risolvere il problema, assicurarsi che il metodo '<var>Method name</var>' e il metodo '<var>X</var>' abbiano lo stesso tipo restituito. In alternativa, modificare il nome di uno dei metodi per evitare l'associazione.

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 (العربية) Czech (Čeština) Danish (Dansk) Dutch (Nederlands) Finnish (suomi) Next (Message) French (Français) German (Deutsch) Greek (Ελληνικά) Hebrew (עברית) Hungarian (magyar) Japanese (日本語)