CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
ErrorEncounteredEventArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ErrorEncounteredEventArgs.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Event args indicating an error.</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Windows
11{
16 {
26 public ErrorEncounteredEventArgs(string commandName, Exception ex)
27 : base(commandName)
28 {
29 _ex = ex;
30 }
31
32 private Exception _ex;
33
37 public Exception Ex
38 {
39 get { return _ex; }
40 }
41 }
42}
ErrorEncounteredEventArgs(string commandName, Exception ex)
Creates an instance of the object.
Exception Ex
Gets a reference to the exception object.