This class describes an exception thrown when an invalid operation is performed that is not more accurately described by another exception type thrown by the Concurrency Runtime.
class invalid_operation : public std::exception;
Overloaded. Constructs an invalid_operation object.
The various methods which throw this exception will generally document under what circumstances they will throw it.