He couldn't participate in the party because of illness.

Literal

Illness [because-のために] he [topic-は] that party [to-に] participating [could-not-できなかった].

参加できなかった uses 参加する ('to participate'), a slightly more formal alternative to 出席する or 出る. The comma after のために is a stylistic choice that doesn't change meaning.