Uri.Canonicalize Method

Definition

Caution

The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202

Caution

Uri.Canonicalize has been deprecated and is not supported.

Caution

The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202

Converts the internally stored URI to canonical form.

protected:
 virtual void Canonicalize();
[System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Canonicalize ();
[System.Obsolete("Uri.Canonicalize has been deprecated and is not supported.")]
protected virtual void Canonicalize ();
[System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Canonicalize ();
protected virtual void Canonicalize ();
[<System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
[<System.Obsolete("Uri.Canonicalize has been deprecated and is not supported.")>]
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
[<System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
Protected Overridable Sub Canonicalize ()
Attributes

Exceptions

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

The URI is incorrectly formed.

Remarks

Stores the canonical version of the URI internally.

Applies to