MaximumAutomaticRedirections Property (HttpUpload)
Gets or sets the maximum number of redirects that the request will follow.
'Declaration
Public Property MaximumAutomaticRedirections As Integer
public int MaximumAutomaticRedirections { get; set; }
public: __property int get_MaximumAutomaticRedirections();
public: __property void set_MaximumAutomaticRedirections(
int
);
public:
property int MaximumAutomaticRedirections {
int get();
void set(int );
}
Property Value
The maximum number of redirection responses that the request will follow. Default value is 5. Maximal value is 50.
The MaximumAutomaticRedirections method property sets the maximum number of redirections for the request to follow if the AllowAutoRedirect property is true.
Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5