ConstraintException Class

The exception that is thrown when an action is attempted that violates a constraint.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in


 public class ConstraintException : Exception


When a ConstraintException exception is caught, if the ExecutionConstraint object that caused this exception has not been uninstalled, the catch block implementation has a small additional amount of time during which to handle the exception. If this takes too long, the exception is rethrown automatically.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also


Microsoft.SPOT Namespace