Version 1 (modified by Charles, 12 years ago) |
---|
InvalidOperationException
This exception is thrown by some library methods when the operation in question is not valid. Since there are already more specific ArgumentNullException? and ArgumentException? classes, InvalidOperationException will often indicate that the state of the object against which the method is called is not valid.