aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Transport/RequestFailedEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Transport/RequestFailedEventArgs.cs')
-rw-r--r--Software/Visual_Studio/Tango.Transport/RequestFailedEventArgs.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Transport/RequestFailedEventArgs.cs b/Software/Visual_Studio/Tango.Transport/RequestFailedEventArgs.cs
new file mode 100644
index 000000000..dfbb24a6f
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Transport/RequestFailedEventArgs.cs
@@ -0,0 +1,22 @@
+using Google.Protobuf;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.Transport
+{
+ public class RequestFailedEventArgs : EventArgs
+ {
+ public IMessage Message { get; set; }
+
+ public Exception Exception { get; set; }
+
+ public RequestFailedEventArgs(IMessage message, Exception exception)
+ {
+ Message = message;
+ Exception = exception;
+ }
+ }
+}