다음을 통해 공유


UriFormatException 클래스

잘못된 URI(Uniform Resource Identifier)가 감지될 때 throw되는 예외입니다.

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

구문

‘선언
<SerializableAttribute> _
Public Class UriFormatException
    Inherits FormatException
    Implements ISerializable
‘사용 방법
Dim instance As UriFormatException
[SerializableAttribute] 
public class UriFormatException : FormatException, ISerializable
[SerializableAttribute] 
public ref class UriFormatException : public FormatException, ISerializable
/** @attribute SerializableAttribute() */ 
public class UriFormatException extends FormatException implements ISerializable
SerializableAttribute 
public class UriFormatException extends FormatException implements ISerializable

설명

지정된 URI를 올바르게 구문 분석할 수 없으면 해당 Uri 클래스 생성자에 의해 UriFormatException이 throw됩니다. 유효한 URI의 형식은 RFC 2396에 정의되어 있습니다.

Message 속성의 텍스트는 이 예외가 throw된 이유를 나타냅니다.

상속 계층 구조

System.Object
   System.Exception
     System.SystemException
       System.FormatException
        System.UriFormatException

스레드로부터의 안전성

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

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

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

UriFormatException 멤버
System 네임스페이스