开发者

Other than strings what can i pass to message queue?

At very high level i would like to know apart from strings what (information) 开发者_Python百科can i pass to Message Queues in C#.NET.

Simply to say that what are all things that can i can pass/send to a message queue by preparing a message.


Like others said, you can put anything into a message queue that can be serialized. Here is an MSDN article that can help get you up to speed on the basics of serialization.


Anything you can serialize to a string depending on the message queue on the back end. MSMQ has a 4MB message size limit, so objects that serialize to over 4Mb won't go (I hope no one has any of those...). I believe this is correct through MSMQ 5.0. More info here on the size limit.


Any object that can be serialised.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜