Пример #1
0
 internal void OnError(object sender, ResponseErrorEventArgs e)
 {
     if (Error != null)
     {
         Error(sender, e);
     }
     else
     {
         throw new System.Web.HttpException((int)e.Status, e.Message);
     }
 }
Пример #2
0
 internal void OnError(object sender, ResponseErrorEventArgs e)
 {
     if (Error != null)
     {
         Error(sender, e);
     }
     else
     {
         throw new System.Web.HttpException((int)e.Status, e.Message);
     }
 }