RuleEvaluationIncompatibleTypesException Constructor (String, Type, CodeBinaryOperatorType, Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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

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.

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

Property

Value

InnerException

A null reference (Nothing in Visual Basic).

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
Available since 3.0
Return to top
Show: