Leer en inglés

Compartir a través de


Uri.Canonicalize Método

Definición

Precaución

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

Precaución

Uri.Canonicalize has been deprecated and is not supported.

Precaución

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

Convierte el identificador URI almacenado internamente en formato canónico.

C#
[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 ();
C#
[System.Obsolete("Uri.Canonicalize has been deprecated and is not supported.")]
protected virtual void Canonicalize ();
C#
[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 ();
C#
protected virtual void Canonicalize ();
Atributos

Excepciones

Esta instancia representa un identificador URI relativo, y este método sólo es válido para identificadores URI absolutos.

El identificador URI no tiene el formato correcto.

Comentarios

Almacena internamente la versión canónica del URI.

Se aplica a

Producto Versiones (Obsoleto)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8)
.NET Standard (2.0, 2.1)