ShareLinkTask sharetask = new ShareLinkTask();
sharetask.LinkUri = new Uri("http://www.microsoft.com/windowsphone/en-us/default.aspx", UriKind.Absolute);
sharetask.Title = "Windows Phone";
sharetask.Message = "Have you tried Windows Phone";
sharetask.Show();
ShareStatusTask
ShareStatusTask is pretty simple but very userful feature which let the user update the status on social networks.
Show will bring the dialog filled with message and with button to share and Post To textbox filled with social networks account set up on the device.
ShareStatusTask shareStatusTask = new ShareStatusTask();
shareStatusTask.Status = "I am loving WP7";
shareStatusTask.Show();
Note: Atleast one of the social networks need to be set for ShareLinkStatus or ShareStatusTask to appear. If social network is not set on the device ShareLinkTask and ShareStatusTask returns with no errors.
This ends the article of ShareLinkTask and ShareStatusTask in Windows Phone 7.