RedirectHandler Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| RedirectHandler() |
Creates a new instance of RedirectHandler. |
| RedirectHandler(Int32) |
Creates a new instance of RedirectHandler. |
RedirectHandler()
Creates a new instance of RedirectHandler.
public:
RedirectHandler();
public RedirectHandler ();
Public Sub New ()
Applies to
RedirectHandler(Int32)
Creates a new instance of RedirectHandler.
public:
RedirectHandler(int maxRedirects);
public RedirectHandler (int maxRedirects);
new Microsoft.AspNetCore.Mvc.Testing.Handlers.RedirectHandler : int -> Microsoft.AspNetCore.Mvc.Testing.Handlers.RedirectHandler
Public Sub New (maxRedirects As Integer)
Parameters
- maxRedirects
- Int32
The maximum number of redirect responses to follow. It must be equal or greater than 0.