RedirectHandler Constructors

Definition

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.

Applies to