Castle.MonoRail.Framework.ControllerNotFoundException.GetObjectData C# (CSharp) Méthode

GetObjectData() public méthode

When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception.
The parameter is a null reference ( in Visual Basic).
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
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.
Résultat void
		public override void GetObjectData(SerializationInfo info, StreamingContext context)
		{
			base.GetObjectData(info, context);
			info.AddValue("rails.area", area);
			info.AddValue("rails.controller", controller);
		}