Message in Polish (Polski)
Synchroniczna metoda klasy OperationContract „<var>Method name</var>” w typie „<var>Type Name</var>” została dopasowana do opartej na zadaniach asynchronicznej metody klasy OperationContract „<var>X</var>”, ponieważ zawierają one operację o takiej samej nazwie „X”. Gdy synchroniczna metoda klasy OperationContract jest dopasowywana do opartej na zadaniach asynchronicznej metody klasy OperationContract, wszystkie dodatkowe atrybuty muszą zostać zadeklarowane w synchronicznej metodzie klasy OperationContract. W tym przypadku oparta na zadaniach asynchroniczna metoda klasy OperationContract „<var>X</var>” ma co najmniej jeden atrybut typu „Y”. Aby rozwiązać ten problem, usuń atrybut lub atrybuty „Y” z metody „<var>X</var>”. Możesz też zmienić nazwę jednej z metod, co zapobiegnie dopasowywaniu.
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, any additional attributes must be declared on the synchronous OperationContract method. In this case, the task-based asynchronous OperationContract method '<var>X</var>' has one or more attributes of type 'Y'. To fix it, remove the 'Y' attribute or attributes from method '<var>X</var>'. Alternatively, changing the name of one of the methods will prevent matching.
Search by Google