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.
AsyncLoadException.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
8{
13 public class AsyncLoadException : Exception
14 {
15
22 public IPropertyInfo Property { get; set; }
23
30 public AsyncLoadException(IPropertyInfo property, string message, Exception ex) : base(message, ex)
31 {
32 Property = property;
33 }
34 }
35}
Exception class to add the PropertyInfo and better nmessage to an async exception
IPropertyInfo Property
The property that Async LazyLoad failed on.
AsyncLoadException(IPropertyInfo property, string message, Exception ex)
Constructor for AsyncLoadException
Maintains metadata about a property.
@ Serializable
Prevents updating or inserting until the transaction is complete.