How to get parameters of events in background tasks extension

how to get parameters of events in background tasks extension