20 references to UriFormatException
PresentationCore (3)
System\Windows\Navigation\BaseUriHelper.cs (3)
282throw new UriFormatException(SR.WrongFirstSegment); 303throw new UriFormatException(SR.WrongFirstSegment); 314throw new UriFormatException(SR.WrongFirstSegment);
System.Private.Uri (17)
System\DomainNameHelper.cs (2)
208throw new UriFormatException(SR.net_uri_BadUnicodeHostForIdn); 214throw new UriFormatException(SR.net_uri_BadUnicodeHostForIdn);
System\Uri.cs (14)
657return new UriFormatException(SR.net_uri_BadFormat); 659return new UriFormatException(SR.net_uri_BadScheme); 661return new UriFormatException(SR.net_uri_BadAuthority); 663return new UriFormatException(SR.net_uri_EmptyUri); 666return new UriFormatException(SR.net_uri_SchemeLimit); 668return new UriFormatException(SR.net_uri_SizeLimit); 670return new UriFormatException(SR.net_uri_MustRootedPath); 673return new UriFormatException(SR.net_uri_BadHostName); 675return new UriFormatException(SR.net_uri_BadFormat); 677return new UriFormatException(SR.net_uri_BadPort); 679return new UriFormatException(SR.net_uri_BadAuthorityTerminator); 681return new UriFormatException(SR.net_uri_CannotCreateRelative); 685return new UriFormatException(SR.net_uri_BadFormat); 2636throw new UriFormatException(SR.Format(SR.net_uri_PortOutOfRange, _syntax.GetType(), portStr));
System\UriBuilder.cs (1)
310throw new UriFormatException(SR.net_uri_BadUserPassword);