mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-29 07:01:38 +03:00
push notification helper library
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
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user