Message in Norwegian (Bokmal) (Norsk (Bokmål))
Den synkrone OperationContract-metoden <var>Method name</var> i typen <var>Type Name</var> ble tilpasset den oppgavebaserte asynkrone OperationContract-metoden <var>X</var> fordi de har samme operasjonsnavn X. Når en synkron OperationContract-metode tilpasses en oppgavebasert asynkron OperationContract-metode, må eventuelle ekstra attributter deklareres for den synkrone OperationContract-metoden. I dette tilfellet har den oppgavebaserte asynkrone OperationContract-metoden <var>X</var> ett eller flere attributter av typen Y. Dette løser du ved å fjerne Y-attributtet eller attributtene fra metoden <var>X</var>. Du kan også endre navnet på en av metodene for å hindre at de samsvarer.
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