12 references to UriFormatException
Microsoft.Extensions.AI.Abstractions (4)
Contents\DataUriParser.cs (4)
31
throw new
UriFormatException
("Invalid data URI format: the data URI must start with 'data:'.");
40
throw new
UriFormatException
("Invalid data URI format: the data URI must contain a comma separating the metadata and the data.");
57
throw new
UriFormatException
("Invalid data URI format: the data URI is base64-encoded, but the data is not a valid base64 string.");
66
throw new
UriFormatException
("Invalid data URI format: the media type is not a valid.");
PresentationCore (3)
System\Windows\Navigation\BaseUriHelper.cs (3)
274
throw new
UriFormatException
(SR.WrongFirstSegment);
295
throw new
UriFormatException
(SR.WrongFirstSegment);
306
throw new
UriFormatException
(SR.WrongFirstSegment);
System.Private.Uri (5)
System\DomainNameHelper.cs (2)
208
throw new
UriFormatException
(SR.net_uri_BadUnicodeHostForIdn);
214
throw new
UriFormatException
(SR.net_uri_BadUnicodeHostForIdn);
System\Uri.cs (2)
728
return new
UriFormatException
(message);
2617
throw new
UriFormatException
(SR.Format(SR.net_uri_PortOutOfRange, _syntax.GetType(), portStr));
System\UriBuilder.cs (1)
334
throw new
UriFormatException
(SR.net_uri_BadUserPassword);