Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6030859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:05:59+00:00 2026-05-23T05:05:59+00:00

I’ve just started learning Silverlight with the MVVM Light framework . Most recently I’ve

  • 0

I’ve just started learning Silverlight with the MVVM Light framework. Most recently I’ve started getting into the Messenger features in MVVM Light.

So far I’ve downloaded and dug into the Clean Shutdown example posted by Laurent and have a basic understanding of how the Messenger class works but I’m still a little unsure when to use which Message type.

From the site, here are the Message types:

  • MessageBase: A simple message class, carrying optional information
    about the message’s sender.
  • GenericMessage: A simple message with a Content property of
    type T.
  • NotificationMessage: Used to send a notification (as a string) to a
    recipient. For example, save your
    notifications as constant in a
    Notifications class, and then send
    Notifications.Save to a recipient.
  • NotificationMessage: Same as above, but with a generic Content
    property. Can be used to pass a
    parameter to the recipient together
    with the notification.
  • NotificationMessageAction: Sends a notification to a recipient
    and allows the recipient to call the
    sender back.
  • NotificationMessageAction: Sends a notification to a recipient
    and allows the recipient to call the
    sender back with a generic parameter.
  • DialogMessage: Used to request that a recipient (typically a View)
    displays a dialog, and passes the
    result back to the caller (using a
    callback). The recipient can choose
    how to display the dialog, either with
    a standard MessageBox, with a custom
    popup, etc…
  • PropertyChangedMessage: Used to broadcast that a property changed
    in the sender. Fulfills the same
    purpose than the PropertyChanged
    event, but in a less tight way.

My question is this: Can anyone explain to me when I would typically use each of these Message types or point me to an article that breaks down the pros and cons of using each message type?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:05:59+00:00Added an answer on May 23, 2026 at 5:05 am

    You will save your self a lot of headaches and annoyance if you dont try to fit your coding to the messages but make the messages do what you want. Dont be afraid to subclass the messages to make them do what you really want from them. That was one of my first mistakes when using mvvm-light.

    Most of my messages use the GenericMessage with the Generic being what I am trying to transfer…

    for instance i have an ExceptionMessage class that

    Public ExceptionMessage:GenericMessage<System.Exception>
    

    then i override the 3 constructors with the proper values.

    I found that its MUCH easier to do it this way than shoehorn things into place.

    I have an indepth example here

    Its from another question about messaging where I had access to my code…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
For some reason, after submitting a string like this Jack’s Spindle from a text
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.