CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla/Core/ErrorEventArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ErrorEventArgs.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Event arguments for an unhandled async</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12
13namespace Csla.Core
14{
19 public class ErrorEventArgs : EventArgs
20 {
24 public object OriginalSender { get; protected set; }
28 public Exception Error { get; protected set; }
29
39 public ErrorEventArgs(object originalSender, Exception error)
40 {
41 OriginalSender = originalSender;
42 Error = error;
43 }
44 }
45}
Event arguments for an unhandled async exception.
Exception Error
Reference to the unhandled async exception object.
ErrorEventArgs(object originalSender, Exception error)
Creates an instance of the object.
object OriginalSender
Reference to the original sender of the event.