-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathWnsNotificationStatus.cs
More file actions
56 lines (46 loc) · 1.07 KB
/
WnsNotificationStatus.cs
File metadata and controls
56 lines (46 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
using System;
namespace PushSharp.Windows
{
public class WnsNotificationStatus
{
public string MessageId { get; set; }
public string DebugTrace { get; set; }
public string ErrorDescription { get; set; }
public WnsNotificationSendStatus NotificationStatus { get; set; }
public WnsDeviceConnectionStatus DeviceConnectionStatus { get; set; }
public WnsNotification Notification { get; set; }
public System.Net.HttpStatusCode HttpStatus { get; set; }
}
public enum WnsNotificationSendStatus
{
Received,
Dropped,
ChannelThrottled
}
public enum WnsDeviceConnectionStatus
{
Connected,
Disconnected,
TempDisconnected
}
public enum WnsNotificationCachePolicyType
{
Cache,
NoCache
}
public enum WnsNotificationType
{
Badge,
Tile,
Toast,
Raw
}
public enum WnsPriority
{
Unspecified = 0,
High = 1,
Meduim = 2,
Low = 3,
VeryLow = 4
}
}