Iserializable to serialize readonly methods to be sent through webservice
<p>I am sending an object through a webservice with readonly methods.
I am using the Iserializable interface, assuming that I would no longer need a parameterless constructor. This is not true and I still cannot send my object over the wire. </p>

<pre><code>public class Foo:  ISerializable
{
 public boolean IsBusy { get; private set;}
 protected Foo(SerializationInfo info, StreamingContext context) 
  {
this.IsBusy = info.GetBoolean("IsBusy");
 }
   void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
   {
 .AddValue("IsBusy", this.IsBusy);
  }
</code></pre>
