Name

UriFormatException

Synopsis

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 method UriFormatException();  
   public method UriFormatException(string textString);  
// Protected Constructors
   protected method UriFormatException(
        System.Runtime.Serialization.SerializationInfo serializationInfo, 
        System.Runtime.Serialization.StreamingContext streamingContext);  
}

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionFormatExceptionUriFormatException

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.