Uri.Canonicalize Método

Definição

Atenção

Uri.Canonicalize has been deprecated and is not supported.

Atenção

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

Atenção

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

Converte o URI armazenado internamente para a forma canónica.

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. https://go.microsoft.com/fwlink/?linkid=14202")]
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("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. https://go.microsoft.com/fwlink/?linkid=14202")>]
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 ()
Atributos

Exceções

Esta instância representa um URI relativo, e este método é válido apenas para URIs absolutos.

O URI está incorretamente formado.

Observações

Armazena a versão canónica do URI internamente.

Aplica-se a