invalid_operation Class
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
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;
Public Constructors
| Name | Description |
|---|---|
| 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.
exception
invalid_operation
Header: concrt.h
Namespace: concurrency
Constructs an invalid_operation object.
explicit _CRTIMP invalid_operation(_In_z_ const char* _Message) throw(); invalid_operation() throw();
Parameters
_Message
A descriptive message of the error.