The NMS Class Library (.Net Messaging Library)

PrimitiveMap.CheckValidType Method 

protected virtual void CheckValidType(
   object value
);

See Also

PrimitiveMap Class | ActiveMQ.OpenWire Namespace