IMathLinkError Property

Gets the current error state for the link.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
int Error { get; }

Return Value

Int32
The error code; will be 0 if no error.

Remarks

The actual integer code returned is probably not very useful to most programmers, except to note that 0 means "no error" and anything else means there was an error.

You can use ErrorMessage to get a readable string describing the error.

See Also