Beispiel #1
0
 public void WriteBodyContents(XmlDictionaryWriter writer)
 {
     if (!IsEmpty)
     {
         if (copied_message != null)
         {
             copied_message.WriteBodyContents(writer);
         }
         OnWriteBodyContents(writer);
     }
     else if (Version.Envelope == EnvelopeVersion.None)
     {
         WriteXsiNil(writer);
     }
     State = MessageState.Written;
 }