Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
context_unblock_unbalanced Class
Collapse the table of content
Expand the table of content

context_unblock_unbalanced Class

This class describes an exception that is thrown whenever calls to the Block and Unblock methods of a Context object are not properly paired.

class context_unblock_unbalanced : public std::exception;

Public Constructors

Name

Description

context_unblock_unbalanced::context_unblock_unbalanced Constructor

Overloaded. Constructs a context_unblock_unbalanced object.

Calls to the Block and Unblock methods of a Context object must always be properly paired. The Concurrency Runtime allows the operations to happen in either order. For example, a call to Block may followed by a call to Unblock, or vice-versa. This exception would be thrown if, for instance, two calls to the Unblock method were made in a row, on a Context object which was not blocked.

Header: concrt.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2015 Microsoft