Union Discriminator default

1 post / 0 new
Offline
Last seen: 5 months 2 weeks ago
Joined: 10/23/2013
Posts: 43
Union discriminator value for default, invalid and fall-through cases

I am using the Dyanamic Data API's to send/receive toipcs with unions.  I have 3 questions about the proper way to handle the discriminator value when read/take a sample that contains a union. The descriminator value is needed in order for the data reader application code to know which field in the union data structure has valid data.

Organization:
Subscribe to RSS - Union Discriminator default