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.
PropertyLoadException.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="PropertyLoadException.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Exception indicating a failure to</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla
11{
17 [Serializable()]
18 public class PropertyLoadException : Exception
19 {
24 public PropertyLoadException(string message)
25 : base(message)
26 { }
27
33 public PropertyLoadException(string message, Exception ex)
34 : base(message, ex)
35 { }
36
37#if !NETFX_CORE
43 protected PropertyLoadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
44 : base(info, context)
45 { }
46
52 public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
53 {
54 base.GetObjectData(info, context);
55 }
56#endif
57 }
58}
Exception indicating a failure to set a property's field.
PropertyLoadException(string message, Exception ex)
Creates an instance of the type.
PropertyLoadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Creates an instance of the object for serialization.
PropertyLoadException(string message)
Creates an instance of the type.
override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Serializes the object.
@ Serializable
Prevents updating or inserting until the transaction is complete.