/// <summary> /// Writes a service document with the specified <paramref name="serviceDocument"/> /// as message payload. /// </summary> /// <param name="serviceDocument">The service document to write.</param> private void WriteServiceDocumentImplementation(ODataServiceDocument serviceDocument) { ODataAtomServiceDocumentSerializer atomServiceDocumentSerializer = new ODataAtomServiceDocumentSerializer(this); atomServiceDocumentSerializer.WriteServiceDocument(serviceDocument); }