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