Message in German (Deutsch)
Die synchrone OperationContract-Methode "<var>Method name</var>" im Typ "<var>Type Name</var>" wurde der taskbasierten asynchronen OperationContract-Methode "<var>X</var>" zugeordnet, da die Methoden über den gleichen Vorgangsnamen "X" verfügen. Wenn eine synchrone OperationContract-Methode einer aufgabenbasierten asynchronen OperationContract-Methode zugeordnet wird, müssen alle zusätzlichen Attribute in der synchronen OperationContract-Methode deklariert werden. In diesem Fall verfügt die taskbasierte asynchrone OperationContract-Methode "<var>X</var>" über mindestens ein Attribut vom Typ "Y". Entfernen Sie die Y-Attribute aus der Methode "<var>X</var>", um dieses Problem zu beheben. Alternativ können Sie den Namen einer der Methoden ändern, um eine Zuordnung zu verhindern.
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