title: Why can't I serialize an object using DataContractSerializer?
body: <p>I'm trying to serialize a type using the DataContractSerializer and am getting the exception below.  This isn't for an SOA service, but I would still like to use the DataContractSerializer if possible.  I am using .Net 3.5 SP1.</p>
  
  <blockquote>
    <p>Type
    'System.DelegateSerializationHolder+DelegateEntry'
    with data contract name
    'DelegateSerializationHolder.DelegateEntry:<a href="http://schemas.datacontract.org/2004/07/System" rel="nofollow noreferrer">http://schemas.datacontract.org/2004/07/System</a>'
    is not expected. Add any types not
    known statically to the list of known
    types - for example, by using the
    KnownTypeAttribute attribute or by
    adding them to the list of known types
    passed to DataContractSerializer.</p>
  </blockquote>