The IResponse::End method causes the server to stop processing the script and to return the current response. For more information, see the End method of the Response object.
HRESULT End(VOID);
When this method is called, the remaining contents of the file are not processed.