only attempt to set UdtTypeName after checking parameter type