NHibernate.StaleObjectStateException.StaleObjectStateException C# (CSharp) Method

StaleObjectStateException() protected method

Initializes a new instance of the StaleObjectStateException class with serialized data.
protected StaleObjectStateException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The that holds the serialized object /// data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The that contains contextual information about the source or destination. ///
return System
		protected StaleObjectStateException(SerializationInfo info, StreamingContext context) : base(info, context)
		{
			entityName = info.GetValue("entityName", typeof(string)) as string;
			identifier = info.GetValue("identifier", typeof(object));
		}

Same methods

StaleObjectStateException::StaleObjectStateException ( string entityName, object identifier ) : System