STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
Concurrency::context_unblock_unbalanced Class Reference

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

#include <concrt.h>

Inheritance diagram for Concurrency::context_unblock_unbalanced:

Public Member Functions

_CRTIMP context_unblock_unbalanced (_In_z_ const char *_Message) throw ()
 Constructs a context_unblock_unbalanced object. More...
 
_CRTIMP context_unblock_unbalanced () throw ()
 Constructs a context_unblock_unbalanced object. More...
 

Detailed Description

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

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 can be 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.

See also
Context Class, Context::Unblock Method, Context::Block Method

Constructor & Destructor Documentation

_CRTIMP Concurrency::context_unblock_unbalanced::context_unblock_unbalanced ( _In_z_ const char *  _Message)
throw (
)
explicit

Constructs a context_unblock_unbalanced object.

Parameters
_MessageA descriptive message of the error.
_CRTIMP Concurrency::context_unblock_unbalanced::context_unblock_unbalanced ( )
throw (
)

Constructs a context_unblock_unbalanced object.


The documentation for this class was generated from the following file: