Hello,
Welcome to Microsoft Q&A!
The Send method should specify a generic argument that represents the sender and data type.
Modify your code as below
MessagingCenter.Send<object,string>(this, MessageNames.ToastMessageService, msg);
Thank you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





