Neither did they talk on the way out, although by that time the building was being closed for Trump Tower’s holiday party. Safra Catz, the co-chief of Oracle who attended the meeting, gave a thumbs up.

Mr. Bezos later issued a statement that said he found the meeting “very productive.”

“I shared the view that the administration should make innovation one of its key pillars, which would create a huge number of jobs across the whole country, in all sectors, not just tech — agriculture, infrastructure, manufacturing — everywhere,” he said.

The technology world had been in turmoil as the meeting drew near. Some argued the chief executives should boycott the event to show their disdain for Mr. Trump’s values. Others maintained they should go and forthrightly make their values clear. And still others thought they should attend and make their accommodations with the new reality.

“There is a wide spectrum of feeling in the Valley,” said Aaron Levie, the chief executive of the cloud storage company Box.

Complicating the debate was the fact that the most fervently anti-Trump elements in Silicon Valley seem to be the start-ups and venture capitalists, few of which were invited to the meeting. (Alex Karp, the chief executive of Palantir Technologies, was the only head of a privately held tech company at the meeting.)

Some tech companies were also notable for their absence. Twitter, the president-elect’s medium of choice for communication, was not invited.

Twitter declined to comment on why it was not included. A campaign official complained last month in a Medium post that Twitter had killed a #CrookedHillary emoji. On Wednesday, Sean Spicer, a spokesman for Mr. Trump, said that Twitter had been left out of the meeting because of space considerations in a gathering that many other technology executives were “dying to get into.”