Export (0) Print
Expand All

UnvalidatedRequestValuesBase.Url Property

.NET Framework 4.6 and 4.5

When overridden in a derived class, gets the URL data for the request without triggering request validation.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

abstract Url : Uri with get 
override Url : Uri with get

Property Value

Type: System.Uri
An object that contains the URL data for the request.

ExceptionCondition
NotImplementedException

The property is not implemented.

You can retrieve URL data such as the port number, host name, path information, and data about the user from the Uri object that this property returns.

Notes to Inheritors

If you override this property in a derived class, you must manually check the data for potential cross-site scripting attacks.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft