IMathLinkMessageArrived Event

Occurs when a low-level MathLink message arrives.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
event MessageHandler MessageArrived

Value

MessageHandler

Remarks

Do not confuse this type of message, used mainly for communicating requests to interrupt or abort a computation, with Wolfram Language warning and error messages, which are unrelated.

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.

See Also