Windows Azure Service Bus - BrokeredMessage.Properties with Enum Value
Shortly, you can use only simple types like string, integers.
For your case, you can try two ways
- brokeredMessage.Properties.Add("FooBar", (int)FooBar.Foo);
- brokeredMessage.Properties.Add("FooBar", FooBar.Foo.ToString());
Choose by you self, which one is better for you.