mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-28 23:01:53 +03:00
00f97e41d6
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/01/14/windows-push-notification-server-side-helper-library.aspx http://create.msdn.com/en-us/education/catalog/article/pnhelp-wp7
31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
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
|
|
{
|
|
/// <summary>
|
|
/// Implement this interface to log push notification messages send result and error.
|
|
/// </summary>
|
|
internal interface IMessageSendResultLogger
|
|
{
|
|
/// <summary>
|
|
/// Implement this method by logging push notification messages send result.
|
|
/// </summary>
|
|
/// <param name="patternName">The server push pattern used while reporting this message send result.</param>
|
|
/// <param name="result">The message send result to log.</param>
|
|
void Log(string patternName, MessageSendResult result);
|
|
|
|
/// <summary>
|
|
/// Implement this method by logging push notification messages error result.
|
|
/// </summary>
|
|
/// <param name="patternName">The server push pattern used while reporting this message send error.</param>
|
|
/// <param name="result">The message send result to log.</param>
|
|
void Log(string patternName, MessageSendException exception);
|
|
}
|
|
}
|