I am 开发者_JAVA百科trying to use the integrated message queue binding with the class Message.
void HandleMessage(Message msg)
However the binding does not work, this works with other bindings. Is this a limitation on this specific binding?
I suspect there is a naming ambiguity between System.Messaging.Message
and your own Message
class.
Try void HandleMessage(Your.Namespace.Message msg)
or rename your class.
精彩评论