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
{
///
/// Represents errors that occur during push notification message send operation.
///
public class MessageSendException : Exception
{
///
/// Gets the message send result.
///
public MessageSendResult Result { get; private set; }
///
/// Initializes a new instance of this type.
///
/// The send operation result.
/// An inner exception causes this error.
internal MessageSendException(MessageSendResult result, Exception innerException)
: base(Resources.FailedToSendMessage, innerException)
{
Result = result;
}
}
}