Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

invalid_link_target Class


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

© 2017 Microsoft