Castle.MonoRail.Framework.ControllerNotFoundException.GetObjectData C# (CSharp) 메소드

GetObjectData() 공개 메소드

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.
리턴 void
		public override void GetObjectData(SerializationInfo info, StreamingContext context)
		{
			base.GetObjectData(info, context);
			info.AddValue("rails.area", area);
			info.AddValue("rails.controller", controller);
		}