When you are creating a custom handler, what is the parameter being passed into the ProcessRequest method?
A. object, EventArgs
B. HttpApplication
C. HttpContext
D. Object
Answer:
C
Explanation
A. Incorrect: object, EventArgs are the parameters used for the event handlers thrown during the startup process. The event handlers are assigned in the Init method.
B. Incorrect: HttpApplication is the parameter used in the Init method.
C. Correct: The ProcessRequest method takes the HttpContext parameter.
D. Incorrect: There are no default methods that just accept an object parameter.