Aracılığıyla paylaş


bad_target Class

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

class bad_target : public std::exception;

Members

Public Constructors

Name

Description

bad_target::bad_target Constructor

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

See Also

Reference

Concurrency Namespace

Concepts

Asynchronous Message Blocks