Skip to content

Issue with doc page for HttpResponse.RedirectPermanent method #9780

@HarshLPM

Description

@HarshLPM

In the following MS document page, for the RedirectPermanent method, default value seems to be true instead of false. I have tested it on my local machine and it is ending the response by default similar to Redirect method.

https://learn.microsoft.com/en-us/dotnet/api/system.web.httpresponse.redirectpermanent?view=netframework-4.8.1#system-web-httpresponse-redirectpermanent(system-string)

RedirectPermanent(String, Boolean)
true to terminate the response; otherwise false. The default is false.

Also, it requires to correct method documentation which show up in Visual Studio.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.WebuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions