0
|
1 using System;
|
|
2
|
|
3 namespace Demo.WebServices.Client.WebClient
|
|
4 {
|
|
5 public class WebOperationExceptionEventArgs : WebOperationCancelledEventArgs
|
|
6 {
|
|
7 private readonly Exception _exception;
|
|
8 public Exception Exception
|
|
9 {
|
|
10 get { return _exception; }
|
|
11 }
|
|
12
|
|
13 private bool _retry;
|
|
14 public bool Retry
|
|
15 {
|
|
16 get { return _retry; }
|
|
17 set { _retry = value; }
|
|
18 }
|
|
19
|
|
20 public WebOperationExceptionEventArgs(string url, string methodName, object[] parameters, Exception exception)
|
|
21 : base(url, methodName, parameters)
|
|
22 {
|
|
23 _exception = exception;
|
|
24 }
|
|
25 }
|
|
26 } |