IMathLinkPutMessage Method

Sends a low-level MathLink message.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
void PutMessage(
	MathLinkMessage msg
)

Parameters

msg  MathLinkMessage
The message to send; will be one of MathLinkMessage.Abort or MathLinkMessage.Interrupt.

Remarks

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

To abort a Wolfram Language computation, use PutMessage(MathLinkMessage.Abort). If a computation is successfully aborted, it will return the symbol $Aborted.

Few programmers will use this method directly, as they will be working with the higher-level IKernelLink interface, which has methods for aborting and interrupting computations.

See Also