开发者

List value is missing while receiving a messgae in NServiceBus

My message object has a list and some properties. Say List MyList. I send th开发者_JAVA技巧is message to a queue. NSBHandler receives this message. But MyList is missing in that received message. All other properties exist.

Can anyone help me to resolve this issue?

Thanks in advance.

Regin Thangaraj


If you've used an auto property and you've done it like this:

public List<Stuff> MyListOfStuff { get; private set; }

Then NServiceBus will skip it on serialization as it knows that on deserilization it will won't be able to set the property with the private setter..

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜