This documentation is archived and is not being maintained.

CRequestHandlerT::InitializeHandler 

This method is called to initialize the request handler when it is used from a handler tag or loaded by any means except a subhandler tag or include tag.


HTTP_CODE InitializeHandler(
   AtlServerRequest* pRequestInfo,
   IServiceProvider* pProvider 
);

Parameters

pRequestInfo

The information about the request to be handled.

pProvider

The service provider.

Returns HTTP_SUCCESS or another ATL Server status code indicating success or failure.

This implementation of IRequestHandler::InitializeHandler initializes the response object, calls CRequestHandlerT::CheckValidRequest, initializes the request object, and calls ValidateAndExchange.

Show: