开发者

NullReferenceException returned by Messenger.Default.Send("any string");

In my app:

Messenger.Default.Send("Search Returne开发者_如何学God");

message is 'NullReferenceException', no inner exception.

???


Make sure you are registering for the message in your initialization path.

Messenger.Default.Register<string>(this, YourHandlerMethod)
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜