Reads a function name and argument count and requires that it match the specified function name and arg count.
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 and argument count are not what you expect.
Exception Type | Condition |
---|---|
MathLinkException | If the data waiting on the link is not the named function with the named arg count, or on any other MathLink error. |
IMathLink Interface | Wolfram.NETLink Namespace | CheckFunction | GetFunction