List all ApplicationProperties existing keys

Jun 8, 2015 at 7:36 AM
Hello,
How to list all keys in ApplicationProperties Map?
Coordinator
Jun 8, 2015 at 6:02 PM
ApplicationProperties is a described map and its Map property gives you access to the data container which implements IDictionary.
        foreach (var key in message.ApplicationProperties.Map.Keys)
        {
            Console.WriteLine("{0}:{1}", key, message.ApplicationProperties[key]);
        }