RedirectLocation Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets the value of the HTTP Location header in this response.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public Property RedirectLocation As String
public string RedirectLocation { get; set; }
public:
property String^ RedirectLocation {
String^ get ();
void set (String^ value);
}
member RedirectLocation : string with get, set
function get RedirectLocation () : String
function set RedirectLocation (value : String)
Property Value
Type: System. . :: . .String
A String that contains the absolute URL to be sent to the client in the Location header.
Remarks
The Location header specifies the URL to which the client is directed to locate a requested resource.
Note
Setting this property does not automatically set the StatusCode property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.