Checks if a redirection occurred - and returns true if it was to the error page specified in Configuration.ErrorPageRedir
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool CheckRedirection( WebRequest request, WebResponse response )
Public Overridable Function CheckRedirection ( _ request As WebRequest, _ response As WebResponse _ ) As Boolean
public: virtual bool CheckRedirection( WebRequest^ request, WebResponse^ response )
Parameters
- request (WebRequest)
- response (WebResponse)