編輯

共用方式為


UnvalidatedRequestValuesBase.Url Property

Definition

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

public:
 virtual property Uri ^ Url { Uri ^ get(); };
public virtual Uri Url { get; }
member this.Url : Uri
Public Overridable ReadOnly Property Url As Uri

Property Value

Uri

An object that contains the URL data for the request.

Exceptions

The property is not implemented.

Remarks

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.

Applies to