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
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Net;
|
|
|
|
using WindowsPhone.Recipes.Push.Messasges.Properties;
|
|
|
|
namespace WindowsPhone.Recipes.Push.Messasges
|
|
{
|
|
/// <summary>
|
|
/// Represents errors that occur during push notification message send operation.
|
|
/// </summary>
|
|
public class MessageSendException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Gets the message send result.
|
|
/// </summary>
|
|
public MessageSendResult Result { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of this type.
|
|
/// </summary>
|
|
/// <param name="result">The send operation result.</param>
|
|
/// <param name="innerException">An inner exception causes this error.</param>
|
|
internal MessageSendException(MessageSendResult result, Exception innerException)
|
|
: base(Resources.FailedToSendMessage, innerException)
|
|
{
|
|
Result = result;
|
|
}
|
|
}
|
|
}
|