Поделиться через


Uri.Canonicalize Метод

Определение

Внимание!

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

Внимание!

Uri.Canonicalize has been deprecated and is not supported.

Внимание!

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

Преобразует сохраненный во внутреннем хранилище универсальный код ресурса в каноническую форму.

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

Исключения

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

Формат URI неправильный.

Комментарии

Хранит каноническую версию URI внутри системы.

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