The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: Message Queuing


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Enumerating Block Contents (xAP Framework.NET)


  • Subject: Enumerating Block Contents (xAP Framework.NET)
  • From: "Sullivan, Glenn" <gsullivan@xxxxxxxxxxxxxx>
  • Date: Thu, 23 Jun 2005 13:21:20 -0400

I am writing my own MSDE xAP Logger service... I couldn't get the xAP
Logger to work for me, so I figured "It can't be that hard."

Is there an easy way to enumerate (separately) the value pairs of a xAP
block, using xAP Framework.net?

Basically, is there a similar .Item(index as integer) property that I'm
missing?



If event_args.Message.IsHeartbeat Then
Exit Sub
Else
'Log the header code: removed
For intLoop = 0 To event_args.Message.Body.Count - 1
xapBlock = event_args.Message.Body.Item(intLoop)
'Log the Block Code: Removed
For intLoop2 = 0 To xapBlock.Count - 1

'Here is where I'd like to be able to access the value pairs by index...

Next
Next
End If


I am using xFx version 1.2.9.12

TIA,


Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc.




xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.