/// <summary> /// Gets the payload for raw push notification. /// </summary> /// <param name="push">The push.</param> /// <returns></returns> private string GetPayload(WindowsPhoneRaw push) { // Create the raw message. string rawMessage = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<root>" + "<Value1>" + push.Value1 + "<Value1>" + "<Value2>" + push.Value2 + "<Value2>" + "</root>"; return(rawMessage); }
/// <summary> /// Gets the payload for raw push notification. /// </summary> /// <param name="push">The push.</param> /// <returns></returns> private string GetPayload(WindowsPhoneRaw push) { // Create the raw message. string rawMessage = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<root>" + "<Value1>" + push.Value1 + "<Value1>" + "<Value2>" + push.Value2 + "<Value2>" + "</root>"; return rawMessage; }