protected virtual void SetObjectProperty(string name, object value)
{
FailIfReadOnly();
try
{
if(!this.allowByteArrays && (value is byte[]))
{
throw new NotSupportedException("Byte Arrays not allowed in this PrimitiveMap");
}
this.properties[name] = value;
}
catch(Exception ex)
{
throw NMSExceptionSupport.CreateMessageFormatException(ex);
}
}