public ApnsHttp2NotificationException(ApnsHttp2FailureReason reason, ApnsHttp2Notification notification, Exception innerException)
     : base($"Apns notification error: '{reason}'", notification, innerException)
 {
     ErrorStatusCode = reason;
     Notification    = notification;
 }
示例#2
0
 public ApnsHttp2NotificationException(ApnsHttp2FailureReason reason, ApnsHttp2Notification notification)
     : base(reason.ToString())
 {
     Notification = notification;
     Reason       = reason;
 }