bad_target Class

This class describes an exception thrown when a messaging block is given a pointer to a target which is invalid for the operation being performed.

Syntax

class bad_target : public std::exception;

Members

Public Constructors

Name Description
bad_target Overloaded. Constructs a bad_target object.

Remarks

This exception is typically thrown for reasons such as a target attempting to consume a message which is reserved for a different target or releasing a reservation that it does not hold.

Inheritance Hierarchy

exception

bad_target

Requirements

Header: concrt.h

Namespace: concurrency

bad_target

Constructs a bad_target object.

explicit _CRTIMP bad_target(_In_z_ const char* _Message) throw();

bad_target() throw();

Parameters

_Message
A descriptive message of the error.

See also

concurrency Namespace
Asynchronous Message Blocks