Share via


OmlParseExceptionReason Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the conditions that cause OmlParseException.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Enumeration OmlParseExceptionReason
public enum OmlParseExceptionReason
public enum class OmlParseExceptionReason
type OmlParseExceptionReason
public enum OmlParseExceptionReason

Members

Member name Description
NotSpecified Unspecified reason for the exception.
DuplicateName A duplicate name.
ExpressionCannotBeConvertedIntoTerm An expression that could not be converted into a term.
InvalidAnnotation An annotation that is not valid.
InvalidArgumentCount The wrong number of arguments provided to an operator.
InvalidArgumentType An argument type that is not valid or that does not match the required type.
InvalidDataBinding A data binding that is not valid.
InvalidDecision A decision that is not valid.
InvalidDomain A domain specification that is not valid.
InvalidFilterCondition An invalid condition in a ForEach(Set, Func<T, TResult>) or ForEachWhere(Set, Func<T, TResult>, Boolean).
InvalidGoal A goal that is not valid.
InvalidName An identifier that is not valid.
InvalidIterator An iterator expression that is not valid.
InvalidIndex An index that is not valid.
InvalidIndexCount An index count that is not valid.
InvalidLabel A label that is not valid.
InvalidParameter A parameter that is not valid.
InvalidSos An special ordered set (SOS) that is not valid.
InvalidSet A set that is not valid.
InvalidTuples A tuples specification that is not valid.
SubmodelError An element that is not valid in a submodel section.
UnexpectedTerm An unexpected term is encountered.

See Also

Reference

Microsoft.SolverFoundation.Common Namespace