Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

message::message Constructor

Constructs a message object.

message(
   _Type const &_P
);

message(
   _Type const &_P,
   runtime_object_identity _Id
);

message(
   message const & _Msg
);

message(
   _In_ message const * _Msg
);

_P

The payload of this message.

_Id

The unique ID of this message.

_Msg

A reference or pointer to a message object.

The constructor that takes a pointer to a message object as an argument throws an invalid_argument exception if the parameter _Msg is NULL.

Header: agents.h

Namespace: concurrency

Show:
© 2015 Microsoft