InvalidOperationException

InvalidOperationException

CF 1.0, ECMA 1.0, serializable

System (mscorlib.dll)

class

This exception indicates that a user
attempted to use a method when the
object was not in an appropriate state. For example, this exception
is thrown if you attempt to write data with a
System.Xml.XmlTextWriter that is already closed.