Functions through binding to TNF receptor-associated factors TRAF1 and TRAF2 and inhibits apoptosis induced by menadione, a potent inducer of free radicals, and interleukin 1-beta converting enzyme. Also inhibits at least two members of the caspase family of cell-death proteases, caspase-3 and caspase-7. X-linked lymphoproliferative syndrome. Here, TRAF2 is linked to X-linked lymphoproliferative syndrome.