We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

invalid_operation Class

This class describes an exception that is 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;

Public Constructors



invalid_operation::invalid_operation Constructor

Overloaded. Constructs an invalid_operation object.

The various methods which throw this exception will generally document under what circumstances they will throw it.

Header: concrt.h

Namespace: Concurrency