다음을 통해 공유


Uri.Escape 메서드

이 메서드는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다.

참고: 이 메서드는 이제 사용되지 않습니다.

경로 구성 요소의 안전하지 않거나 예약된 문자를 해당 16진 문자 표현으로 변환합니다.

네임스페이스: System
어셈블리: System(system.dll)

구문

‘선언
<ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")> _
Protected Overridable Sub Escape
‘사용 방법

Me.Escape
[ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")] 
protected virtual void Escape ()
[ObsoleteAttribute(L"The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")] 
protected:
virtual void Escape ()
/** @attribute ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202") */ 
protected void Escape ()
ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202") 
protected function Escape ()

예외

예외 형식 조건

UriFormatException

생성자에서 전달된 URI가 잘못된 경우. 이 예외는 URI에 너무 많은 문자가 있거나 URI가 상대 URI인 경우 발생할 수 있습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

1.0, 1.1에서 지원
2.0에서 사용되지 않음(컴파일러 경고)

.NET Compact Framework

1.0에서 지원
2.0에서 사용되지 않음(컴파일러 경고)

참고 항목

참조

Uri 클래스
Uri 멤버
System 네임스페이스