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