XamlXmlWriter.WriteEndObject Method ()
Writes a XAML end object node to the underlying XmlWriter or TextWriter. Throws an exception if the current position of the XAML node stream that is being processed is incompatible with writing an end object.
Assembly: System.Xaml (in System.Xaml.dll)
In markup and text representations of XAML, an end object is a closing tag.
The most common case where InvalidOperationException is thrown by is when the current XAML node stream position is still within a member, and is called.
Available since 4.0