.NET/Link API Version 1.5 USE FRAMES

ExprFormatException Class

The exception thrown by the "AsXXX" methods of the Expr class (e.g., AsInt64, AsDouble, AsArray, etc.)

For a list of all members of this type, see ExprFormatException Members.

System.Object
   System.Exception
      System.ApplicationException
         Wolfram.NETLink.ExprFormatException

[Visual Basic]
Public Class ExprFormatException
    Inherits ApplicationException
[C#]
public class ExprFormatException : ApplicationException

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The Expr conversion methods attempt to return a native .NET representation of the Expr's contents, and if this cannot be done because the Expr cannot be represented in the requested form, an ExprFormatException is thrown. For example, if you called AsArray on an Expr that held a string.

Requirements

Namespace: Wolfram.NETLink

Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll)

See Also

ExprFormatException Members | Wolfram.NETLink Namespace | Expr