invalid_operation Class
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.
Syntax
class invalid_operation : public std::exception;
Members
Public Constructors
Name | Description |
---|---|
invalid_operation::invalid_operation Constructor | Overloaded. Constructs an invalid_operation object. |
Remarks
The various methods which throw this exception will generally document under what circumstances they will throw it.
Inheritance Hierarchy
exception
invalid_operation
Requirements
Header: concrt.h
Namespace: concurrency
invalid_operation::invalid_operation Constructor
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.