RuleEvaluationIncompatibleTypesException Constructor (String, Exception)


Initializes a new instance of the RuleEvaluationIncompatibleTypesException class with a specified error message and a reference to the inner Exception that is the cause of this Exception.

Namespace:   System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public RuleEvaluationIncompatibleTypesException(
	string message,
	Exception ex


Type: System.String

A message that describes the current exception.

Type: System.Exception

The Exception instance that caused the current exception.

An Exception that is thrown as a direct result of a previous Exception should include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is passed into the constructor, or a null reference (Nothing in Visual Basic) if the InnerException property does not supply the inner exception value to the constructor.

.NET Framework
Available since 3.0
Return to top