HttpClientHandler.MaxAutomaticRedirections Property
.NET Framework (current version)
Gets or sets the maximum number of redirects that the handler follows.
Assembly: System.Net.Http (in System.Net.Http.dll)
Property Value
Type: System.Int32The maximum number of redirection responses that the handler follows. The default value is 50.
The MaxAutomaticRedirections property sets the maximum number of redirections for the request to follow if the AllowAutoRedirect property is true.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: