DOFErrorExceptionTYPE_MISMATCH FieldOpenDOF Object Access Library
A value or value list could not be written to or read from the wire.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public const int TYPE_MISMATCH

Field Value

Type: Int32
Remarks

A value or value list could not be written to or read from the wire.

These are some of the many potential causes:

  • Incorrectly formatted type, such as a string that is longer than the max specified.
  • Incompatible structures.
  • Missing type information.
  • Incorrect parameter count for methods and events.
  • The application threw an associated exception because failed to validate a value or its type.
See Also

Reference

DOFObject.get(Property, int)
DOFObject.set(Property, DOFValue, int)
DOFObject.invoke(Method, System.Collections.Generic.IList<E>, int)
DOFSystem.createSubscription(DOFObjectID, Property, int, Listener)