Message in Hebrew (עברית)
שיטת ה- OperationContract הסינכרונית '<var>Method name</var>' בסוג '<var>Type Name</var>' הותאמה עם שיטת ה- OperationContract האסינכרונית מבוססת המשימה '<var>X</var>' מאחר שיש להן את אותו שם פעולה, 'X'. כאשר שיטת OperationContract סינכרונית מותאמת לשיטת OperationContract אסינכרונית מבוססת-משימה, על שני ה- OperationContracts להגדיר את אותו סוג חזרה. במקרה כזה, סוגי החזרה יהיו שונים. על מנת לתקן זאת, ודא שהשיטה '<var>Method name</var>' והשיטה '<var>X</var>' כוללות את אותו סוג חזרה. לחלופין, תוכל לשנות את שם אחת השיטות כדי למנוע התאמה.
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