RuleEvaluationIncompatibleTypesException Constructor (String, Type, CodeBinaryOperatorType, Type, Exception)

Initializes a new instance of the RuleEvaluationIncompatibleTypesException class with the details of the compatibility violation. This includes the InnerException.

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

public RuleEvaluationIncompatibleTypesException(
	string message,
	Type left,
	CodeBinaryOperatorType op,
	Type right,
	Exception ex
)

Parameters

message
Type: System.String

A message that describes the current Exception .

left
Type: System.Type

The Type appearing on the left side of the operator.

op
Type: System.CodeDom.CodeBinaryOperatorType

The CodeBinaryOperatorType representing the operator whose compatibility is violated.

right
Type: System.Type

The Type appearing on the right side of the operator.

ex
Type: System.Exception

The Exception instance that caused the current exception.

The following table shows the initial property values for an instance of Exception represented by this class.

Property

Value

InnerException

The value of the argument ex.

Message

The value of the argument message

Left

The value of the argument left.

Operator

The value of the argument op.

Right

The value of the argument right.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft