单项选择题

My friend was very unhappy for not () to the party.

A. inviting
B. to be invited
C. having been invited
D. having invited