event MessageHandler MessageArrived
Event MessageArrived As MessageHandler
event MessageHandler^ MessageArrived {
void add (MessageHandler^ value);
void remove (MessageHandler^ value);
}
abstract MessageArrived : IEvent<MessageHandler,
EventArgs>
The MessageArrived event handler is passed a single argument of type MathLinkMessage that indicates the type of message. The event handler is called on a separate thread than the application's main thread (this thread is created by MathLink and not by your program).
Do not attempt to use the link from within your event handler.Few programmers will need to use this event.