ILOG CPLEX .NET Reference Manual

CplexModeler.Exception.GetStatus Method 

Return error code or status that caused the exception.

public virtual int GetStatus();

See Also

CplexModeler.Exception Class | ILOG.CPLEX Namespace