Keyoti SearchUnit API Docs
CheckRedirection Method (request, response)
API DocumentationKeyoti.SearchEngine.DocumentsReaderCheckRedirection(WebRequest, WebResponse)
Keyoti SearchUnit v6
Checks if a redirection occurred - and returns true if it was to the error page specified in Configuration.ErrorPageRedir
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual bool CheckRedirection(
	WebRequest request,
	WebResponse response
)
public virtual bool CheckRedirection(
	WebRequest request,
	WebResponse response
)
Public Overridable Function CheckRedirection ( 
	request As WebRequest,
	response As WebResponse
) As Boolean
Public Overridable Function CheckRedirection ( 
	request As WebRequest,
	response As WebResponse
) As Boolean
public:
virtual bool CheckRedirection(
	WebRequest^ request, 
	WebResponse^ response
)
public:
virtual bool CheckRedirection(
	WebRequest^ request, 
	WebResponse^ response
)
abstract CheckRedirection : 
        request : WebRequest * 
        response : WebResponse -> bool 
override CheckRedirection : 
        request : WebRequest * 
        response : WebResponse -> bool 
abstract CheckRedirection : 
        request : WebRequest * 
        response : WebResponse -> bool 
override CheckRedirection : 
        request : WebRequest * 
        response : WebResponse -> bool 
Parameters
request (WebRequest)
response (WebResponse)
Return Value

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120