Reads a function name and argument count and requires that it match the specified function name.
The argument count of the incoming function.
This method is similar to GetFunction in that it reads the name and argument count off the link. Use it in situations where you want an error to occur if the function is not what you expect.
Exception Type | Condition |
---|---|
MathLinkException | If the data waiting on the link is not the named function, or on any other MathLink error. |
IMathLink Interface | Wolfram.NETLink Namespace | CheckFunctionWithArgCount | GetFunction