Uri.Canonicalize Метод

Определение

Внимание!

Uri.Canonicalize has been deprecated and is not supported.

Внимание!

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

Внимание!

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

Преобразует внутренний URI в каноническую форму.

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 ()
Атрибуты

Исключения

Этот экземпляр представляет относительный URI, и этот метод действителен только для абсолютных URI.

URI неправильно сформирован.

Комментарии

Сохраняет каноническую версию URI внутри.

Применяется к