We recommend using Visual Studio 2017

invalid_link_target Class


This class describes an exception thrown when the link_target method of a messaging block is called and the messaging block is unable to link to the target. This can be the result of exceeding the number of links the messaging block is allowed or attempting to link a specific target twice to the same source.

class invalid_link_target : public std::exception;

Public Constructors

invalid_link_target::invalid_link_target ConstructorOverloaded. Constructs an invalid_link_target object.



Header: concrt.h

Namespace: concurrency

Constructs an invalid_link_target object.

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

invalid_link_target() throw();


A descriptive message of the error.

concurrency Namespace
Asynchronous Message Blocks