C # in a Nutshell, Second Edition

UriFormatException CF 1.0, ECMA 1.0, serializable

System (system.dll) class

This exception indicates that you attempted to use an invalid URI, usually in the Uri constructor. For a description of the URI format, see http://www.ietf.org/rfc/rfc2396.txt.

public class UriFormatException : FormatException { // Public Constructors public UriFormatException ( ); public UriFormatException (string textString ); // Protected Constructors protected UriFormatException (System.Runtime.Serialization.SerializationInfo serializationInfo , System.Runtime.Serialization.StreamingContext streamingContext ); }

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException FormatException UriFormatException

Категории