NETLink`
NETLink`
GetNETException
returns the .NET exception object that was thrown in the most recent call from the Wolfram Language to .NET.
更多信息和选项
- To use GetNETException, you first need to load .NET/Link using Needs["NETLink`"].
- Returns Null if no exception was thrown in the most recent call.
- You can use GetNETException with $NETExceptionHandler to implement a custom exception-handling scheme.