You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System/Uri.xml
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -277,7 +277,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
277
277
<para>In the <seehref="https://go.microsoft.com/fwlink/?LinkID=247912">.NET for Windows Store apps</see> or the <seehref="https://docs.microsoft.com/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library">Portable Class Library</see>, catch the base class exception, <seecref="T:System.FormatException" />, instead.</para>
278
278
</block>
279
279
<paramrefname="uriString" /> is empty.
280
-
280
+
281
281
-or-
282
282
283
283
The scheme specified in <paramrefname="uriString" /> is not correctly formed. See <seecref="M:System.Uri.CheckSchemeName(System.String)" />.
@@ -324,7 +324,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
324
324
325
325
-or-
326
326
327
-
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\.</exception>
327
+
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\\\.</exception>
328
328
</Docs>
329
329
</Member>
330
330
<MemberMemberName=".ctor">
@@ -416,7 +416,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
416
416
417
417
-or-
418
418
419
-
The MS-DOS path specified in the URI must start with c:\\.</exception>
419
+
The MS-DOS path specified in the URI must start with c:\\\\.</exception>
420
420
<relatedtype="Article"href="~/docs/standard/serialization/xml-and-soap-serialization.md">XML and SOAP Serialization</related>
421
421
</Docs>
422
422
</Member>
@@ -536,7 +536,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
536
536
537
537
-or-
538
538
539
-
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\.</exception>
539
+
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\\\.</exception>
540
540
</Docs>
541
541
</Member>
542
542
<MemberMemberName=".ctor">
@@ -591,7 +591,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
591
591
<para>In the <seehref="https://go.microsoft.com/fwlink/?LinkID=247912">.NET for Windows Store apps</see> or the <seehref="https://docs.microsoft.com/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library">Portable Class Library</see>, catch the base class exception, <seecref="T:System.FormatException" />, instead.</para>
592
592
</block>
593
593
<paramrefname="uriString" /> contains a relative URI and <paramrefname="uriKind" /> is <seecref="F:System.UriKind.Absolute" />.
594
-
594
+
595
595
or
596
596
597
597
<paramrefname="uriString" /> contains an absolute URI and <paramrefname="uriKind" /> is <seecref="F:System.UriKind.Relative" />.
@@ -646,7 +646,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
646
646
647
647
-or-
648
648
649
-
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\.</exception>
649
+
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\\\.</exception>
650
650
</Docs>
651
651
</Member>
652
652
<MemberMemberName=".ctor">
@@ -718,7 +718,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
718
718
<para>In the <seehref="https://go.microsoft.com/fwlink/?LinkID=247912">.NET for Windows Store apps</see> or the <seehref="https://docs.microsoft.com/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library">Portable Class Library</see>, catch the base class exception, <seecref="T:System.FormatException" />, instead.</para>
719
719
</block>
720
720
The URI formed by combining <paramrefname="baseUri" /> and <paramrefname="relativeUri" /> is empty or contains only spaces.
721
-
721
+
722
722
-or-
723
723
724
724
The scheme specified in the URI formed by combining <paramrefname="baseUri" /> and <paramrefname="relativeUri" /> is not valid.
@@ -765,7 +765,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
765
765
766
766
-or-
767
767
768
-
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\.</exception>
768
+
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\\\.</exception>
769
769
</Docs>
770
770
</Member>
771
771
<MemberMemberName=".ctor">
@@ -838,7 +838,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
838
838
<para>In the <seehref="https://go.microsoft.com/fwlink/?LinkID=247912">.NET for Windows Store apps</see> or the <seehref="https://docs.microsoft.com/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library">Portable Class Library</see>, catch the base class exception, <seecref="T:System.FormatException" />, instead.</para>
839
839
</block>
840
840
The URI formed by combining <paramrefname="baseUri" /> and <paramrefname="relativeUri" /> is empty or contains only spaces.
841
-
841
+
842
842
-or-
843
843
844
844
The scheme specified in the URI formed by combining <paramrefname="baseUri" /> and <paramrefname="relativeUri" /> is not valid.
@@ -885,7 +885,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
885
885
886
886
-or-
887
887
888
-
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\.</exception>
888
+
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\\\.</exception>
889
889
</Docs>
890
890
</Member>
891
891
<MemberMemberName=".ctor">
@@ -1005,7 +1005,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
1005
1005
1006
1006
-or-
1007
1007
1008
-
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\.</exception>
1008
+
The MS-DOS path specified in <paramrefname="uriString" /> must start with c:\\\\.</exception>
1009
1009
<blocksubset="none"type="usage">
1010
1010
<para>Because of security concerns, your application should not call this constructor with URI strings from untrusted sources and with <paramrefname="dontEscape" /> set to <seelangword="true" />. Alternately, you can check a URI string for validity by calling the <seecref="M:System.Uri.IsWellFormedOriginalString" /> method prior to calling this constructor.</para>
0 commit comments