wcf - Content-based Correlation in WF 4 on inherited DataMember property -


in windows workflow foundation under .net 4.0, there way correlate operations based on inherited data member? example given following classes

    [datacontract]     [knowntype(typeof(derivedmessage))]     public abstract class basemessage     {         [datamember(order = 1)]         public guid messageid { get; set; }     }      [datacontract]     public class derivedmessage : basemessage     {          [datamember(order = 1)]         public string additionalproperty { get; set; }     } 

shouldn't possible correlate using property messageid on operation accepting instance of derivedmessage?

when attempting use such property in correlateson definition dialog of receive activity in vs2010 following error thrown:

cannot find path member when generating xpath query.

am doing wrong here? error message isn't helpful see no reason why shouldn't able generate xpath query messageid property on derivedmessage.

the ui helper generate relevant xpath query you. can type in.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -