Message in Chinese (Simplified) (中文(简体))
类型“<var>Type Name</var>”中的同步 OperationContract 方法“<var>Method name</var>”与基于任务的异步 OperationContract 方法“<var>X</var>”匹配,因为它们具有相同的操作名称“<var>Y</var>”。当同步 OperationContract 方法与基于任务的异步 OperationContract 方法匹配时,两个 OperationContract 必须具有相同的“X”属性值。在本例中,这些值不同。若要修复此问题,请更改其中一个 OperationContract 的“X”属性以匹配另一个。或者,也可以更改其中一个方法的名称以防止匹配。
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 '<var>Y</var>'. When a synchronous OperationContract method is matched to a task-based asynchronous OperationContract method, the two OperationContracts must have the same value for the 'X' property. In this case, the values are different. To fix it, change the 'X property of one of the OperationContracts to match the other. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google