Uri.Escape 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Uri.Escape 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
將路徑元件中任何不安全或保留字元轉換為其十六進位字元表示。
protected:
virtual void Escape();
[System.Obsolete("Uri.Escape has been deprecated and is not supported.")]
protected virtual void Escape();
[System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Escape();
[System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Escape();
protected virtual void Escape();
[<System.Obsolete("Uri.Escape has been deprecated and is not supported.")>]
abstract member Escape : unit -> unit
override this.Escape : 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 Escape : unit -> unit
override this.Escape : 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 Escape : unit -> unit
override this.Escape : unit -> unit
abstract member Escape : unit -> unit
override this.Escape : unit -> unit
Protected Overridable Sub Escape ()
- 屬性
例外狀況
建構子傳給的 URI 無效。 此例外可能發生在 URI 字元過多或 URI 為相對符號時。