Uri::Escape Method ()

Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts any unsafe or reserved characters in the path component to their hexadecimal character representations.

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

[ObsoleteAttribute("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
virtual void Escape()

Exception Condition

The URI passed from the constructor is invalid. This exception can occur if a URI has too many characters or the URI is relative.

.NET Framework
Available since 1.1
Return to top