Uri.Canonicalize Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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")>]
abstract Canonicalize : unit -> unit
[<ObsoleteAttribute("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")>]
override Canonicalize : unit -> unit

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: