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

将内部存储的 URI 转换为规范化格式。

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 的规范版本。

适用于