TechNet
Export (0) Print
Expand All

Uri.Canonicalize 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 the internally stored URI to canonical form.

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")]
protected virtual void Canonicalize()

Exception Condition
InvalidOperationException

This instance represents a relative URI, and this method is valid only for absolute URIs.

UriFormatException

The URI is incorrectly formed.

Stores the canonical version of the URI internally.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft