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 | 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
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.
See also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho