using System; using System.Collections.Generic; using System.Linq; using System.Text; using WindowsPhone.Recipes.Push.Messasges; using WindowsPhone.Recipes.Push.Server.Models; namespace WindowsPhone.Recipes.Push.Server.ViewModels { /// /// Implement this interface to log push notification messages send result and error. /// internal interface IMessageSendResultLogger { /// /// Implement this method by logging push notification messages send result. /// /// The server push pattern used while reporting this message send result. /// The message send result to log. void Log(string patternName, MessageSendResult result); /// /// Implement this method by logging push notification messages error result. /// /// The server push pattern used while reporting this message send error. /// The message send result to log. void Log(string patternName, MessageSendException exception); } }