SocketsHttpHandler.MaxAutomaticRedirections Property
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.
Gets or sets the maximum number of allowed HTTP redirects.
public:
property int MaxAutomaticRedirections { int get(); void set(int value); };
C#
public int MaxAutomaticRedirections { get; set; }
member this.MaxAutomaticRedirections : int with get, set
Public Property MaxAutomaticRedirections As Integer
The maximum number of allowed HTTP redirects.
The value specified is less than or equal to zero.
An operation has already been started on the current instance.
The current instance has been disposed.
Produkt | Versioner |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: