TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
orion
NA
4
0
msmq programming in c#
May 16 2004 12:21 PM
When the message body is string, I can dequeue the message. But when I change the message body to a data structure, say, public struct Customer { public string Last; public string First; } I encounter the following error stack trace at System.Type.GetType(String typeName, Boolean throwOnError) at System.Messaging.XmlMessageFormatter.CreateTargetSerializerTable() at System.Messaging.XmlMessageFormatter.Read(Message message) at System.Messaging.Message.get_Body() I have correctly set the message's formatter to be new XmlMessageFormatter(new String[] {"Customer", "customer"}) where "customer" is the name of assembly containing the Customer struct. The message is taken from the queue. This error appears when I try to either typecast message's body or directly printout its body.toString(). Has anyone encountered this error b4? Any idea? Many thanks
Reply
Answers (
1
)
How can I search in dataset?
Help in ADO