Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

invalid_operation Class

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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

NameDescription
invalid_operation::invalid_operation ConstructorOverloaded. 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.

concurrency Namespace

Show:
© 2017 Microsoft