RuleEvaluationIncompatibleTypesException Constructor (SerializationInfo, StreamingContext)

 
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 serialized data.

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

protected RuleEvaluationIncompatibleTypesException(
	SerializationInfo serializeInfo,
	StreamingContext context
)

Parameters

serializeInfo
Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
Type: System.Runtime.Serialization.StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exception Condition
ArgumentNullException

serializeInfo is a null reference (Visual Basic Nothing).

SerializationException

The class name is a null reference (Visual Basic Nothing) or the HResult is zero.

This constructor is called during de-serialization to reconstitute the exception object transmitted over a stream.

.NET Framework
Available since 3.0
Return to top
Show: