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.IdentityModel.Tokens/SessionSecurityTokenHandler.xml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -482,7 +482,11 @@
482
482
<formattype="text/markdown"><![CDATA[
483
483
484
484
## Remarks
485
-
The following type URIs are supported: "http://schemas.microsoft.com/ws/2006/05/servicemodel/tokens/SecureConversation", "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512/sct", and "http://schemas.xmlsoap.org/ws/2005/02/sc/sct".
Copy file name to clipboardExpand all lines: xml/System.Net/WebProxy.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -861,7 +861,7 @@
861
861
## Remarks
862
862
The setting of the <xref:System.Net.WebProxy.BypassProxyOnLocal%2A> property determines whether <xref:System.Net.WebRequest> instances use the proxy server when accessing local Internet resources.
863
863
864
-
If <xref:System.Net.WebProxy.BypassProxyOnLocal%2A> is `true`, requests to local Internet resources do not use the proxy server. Local requests are identified by the lack of a period (.) in the URI, as in http://webserver/, or access the local server, including http://localhost, http://loopback, or http://127.0.0.1. When <xref:System.Net.WebProxy.BypassProxyOnLocal%2A> is `false`, all Internet requests are made through the proxy server.
864
+
If <xref:System.Net.WebProxy.BypassProxyOnLocal%2A> is `true`, requests to local Internet resources do not use the proxy server. Local requests are identified by the lack of a period (.) in the URI, as in `http://webserver/`, or access the local server, including `http://localhost`, `http://loopback`, or `http://127.0.0.1`. When <xref:System.Net.WebProxy.BypassProxyOnLocal%2A> is `false`, all Internet requests are made through the proxy server.
865
865
866
866
> [!NOTE]
867
867
> Requests to a local host with a URI that contain a period use the proxy. To avoid using a proxy in these cases, create an entry for the host in the <xref:System.Net.WebProxy.BypassList%2A>.
@@ -1183,7 +1183,7 @@
1183
1183
1184
1184
<xref:System.Net.WebProxy.IsBypassed%2A> returns `true` under any of the following conditions:
1185
1185
1186
-
- If <xref:System.Net.WebProxy.BypassProxyOnLocal%2A> is `true` and `host` is a local URI. Local requests are identified by the lack of a period (.) in the URI, as in "http://webserver/".
1186
+
- If <xref:System.Net.WebProxy.BypassProxyOnLocal%2A> is `true` and `host` is a local URI. Local requests are identified by the lack of a period (.) in the URI, as in `http://webserver/`.
1187
1187
1188
1188
- If `host` matches a regular expression in <xref:System.Net.WebProxy.BypassList%2A>.
|<xref:System.Globalization.NumberStyles.Currency>|All. The `s` parameter cannot represent a hexadecimal number or a number in exponential notation.|
4698
-
|<xref:System.Globalization.NumberStyles.Float>|The *ws* element at the beginning or end of `s`, *sign* at the beginning of `s`, and the *.*symbol. The `s` parameter can also use exponential notation.|
4698
+
|<xref:System.Globalization.NumberStyles.Float>|The *ws* element at the beginning or end of `s`, *sign* at the beginning of `s`, and the *.*symbol. The `s` parameter can also use exponential notation.|
4699
4699
|<xref:System.Globalization.NumberStyles.Number>|The `ws`, `sign`, *,*, and *.* elements.|
4700
4700
|<xref:System.Globalization.NumberStyles.Any>|All styles, except `s` cannot represent a hexadecimal number.|
This example uses the <xref:System.String.Format%28System.IFormatProvider%2CSystem.String%2CSystem.Object%5B%5D%29> method to display the string representation of some date and time values and numeric values by using several different cultures.
Copy file name to clipboardExpand all lines: xml/System/Uri.xml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -477,7 +477,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
477
477
478
478
479
479
## Examples
480
-
The following example creates a <xref:System.Uri> instance for the URI http://www.contoso.com/Hello%20World.htm. Because the contained URI is completely escaped and is in canonical form, the `dontEscape` parameter can be set to `true`.
480
+
The following example creates a <xref:System.Uri> instance for the URI `http://www.contoso.com/Hello%20World.htm`. Because the contained URI is completely escaped and is in canonical form, the `dontEscape` parameter can be set to `true`.
@@ -701,7 +701,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
701
701
702
702
703
703
## Examples
704
-
The following example creates a new instance of the <xref:System.Uri> class by combining the relative URIs http://www.contoso.com and catalog/shownew.htm to form the absolute URI http://www.contoso.com/catalog/shownew.htm.
704
+
The following example creates a new instance of the <xref:System.Uri> class by combining the relative URIs `http://www.contoso.com` and `catalog/shownew.htm` to form the absolute URI `http://www.contoso.com/catalog/shownew.htm`.
@@ -1112,7 +1112,7 @@ Uri uri2 = new Uri("file:///C:/test/path/file.txt") // Explicit file path.
1112
1112
1113
1113
1114
1114
## Examples
1115
-
The following example writes the complete contents of the <xref:System.Uri> instance to the console. In the example shown, http://www.contoso.com/catalog/shownew.htm?date=today is written to the console.
1115
+
The following example writes the complete contents of the <xref:System.Uri> instance to the console. In the example shown, `http://www.contoso.com/catalog/shownew.htm?date=today` is written to the console.
@@ -1609,7 +1609,7 @@ If you used an escaped string to construct this instance (for example, "http://[
1609
1609
<formattype="text/markdown"><![CDATA[
1610
1610
1611
1611
## Remarks
1612
-
The <xref:System.Uri.Equals%2A> method compares the two instances without regard to user information (<xref:System.Uri.UserInfo%2A>) and fragment (<xref:System.Uri.Fragment%2A>) parts that they might contain. For example, given the URIs http://www.contoso.com/index.htm#search and http://user:[email protected]/index.htm, the <xref:System.Uri.Equals%2A> method would return `true`.
1612
+
The <xref:System.Uri.Equals%2A> method compares the two instances without regard to user information (<xref:System.Uri.UserInfo%2A>) and fragment (<xref:System.Uri.Fragment%2A>) parts that they might contain. For example, given the URIs `http://www.contoso.com/index.htm#search` and `http://user:[email protected]/index.htm`, the <xref:System.Uri.Equals%2A> method would return `true`.
1613
1613
1614
1614
If one <xref:System.Uri> instance is formed with a Unicode host name and `comparand` parameter contains a <xref:System.Uri> instance or identifier that is formed with a host name that has the equivalent Punycode host name, then <xref:System.Uri.Equals%2A> returns `true` only if International Resource Identifier (IRI) and Internationalized Domain Name (IDN) support are enabled. Punycode names contain only ASCII characters and always start with the xn-- prefix.
1615
1615
@@ -1900,7 +1900,7 @@ If you used an escaped string to construct this instance (for example, "http://[
1900
1900
<formattype="text/markdown"><![CDATA[
1901
1901
1902
1902
## Remarks
1903
-
The <xref:System.Uri.Fragment%2A> property gets any text following a fragment marker (#) in the URI, including the fragment marker itself. Given the URI http://www.contoso.com/index.htm#main, the <xref:System.Uri.Fragment%2A> property would return #main.
1903
+
The <xref:System.Uri.Fragment%2A> property gets any text following a fragment marker (#) in the URI, including the fragment marker itself. Given the URI `http://www.contoso.com/index.htm#main`, the <xref:System.Uri.Fragment%2A> property would return #main.
1904
1904
1905
1905
The <xref:System.Uri.Fragment%2A> property is not considered in any <xref:System.Uri.Equals%2A> comparison.
1906
1906
@@ -3841,7 +3841,7 @@ If you used an escaped string to construct this instance (for example, "http://[
3841
3841
3842
3842
3843
3843
## Examples
3844
-
The following example writes the scheme name (http) to the console for the http://www.contoso.com/ URI.
3844
+
The following example writes the scheme name (http) to the console for the `http://www.contoso.com/` URI.
@@ -3940,7 +3940,7 @@ If you used an escaped string to construct this instance (for example, "http://[
3940
3940
The following example shows the absolute path and segments for two URIs. The second example illustrates that the fragment and query are not part of the absolute path and therefore are not segments.
The hash code is generated without including any fragment. The URIs http://www.contoso.com/index.htm#search and http://www.contoso.com/index.htm generate the same hash code.
617
+
The hash code is generated without including any fragment. The URIs `http://www.contoso.com/index.htm#search` and `http://www.contoso.com/index.htm` generate the same hash code.
618
618
619
619
The hash codes for <xref:System.Uri> A and B are guaranteed to be the same when A.Equals(B) is `true`.
Copy file name to clipboardExpand all lines: xml/System/UriTemplate.xml
+5-8Lines changed: 5 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -142,15 +142,12 @@
142
142
<formattype="text/markdown"><![CDATA[
143
143
144
144
## Remarks
145
-
When the `ignoreTrailingSlash` is set to `true`, trailing slashes on the end of template are ignored when matching a candidate URI. For example, a template such as "http://www.microsoft.com/customer/" would match the following candidate URIs:
145
+
When the `ignoreTrailingSlash` is set to `true`, trailing slashes on the end of template are ignored when matching a candidate URI. For example, a template such as `http://www.microsoft.com/customer/` would match the following candidate URIs:
Copy file name to clipboardExpand all lines: xml/ns-System.Xml.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,7 @@
159
159
</xs:schema>
160
160
```
161
161
162
-
If you try to validate the following XML against the schema above, the validation will fail with the following exception: "Unhandled Exception: System.Xml.Schema.XmlSchemaValidationException: The 'e2' el element is invalid - The value 'abc' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:int' - The string 'abc' is not a valid Int32 value."
162
+
If you try to validate the following XML against the schema above, the validation will fail with the following exception: "Unhandled Exception: System.Xml.Schema.XmlSchemaValidationException: The 'e2' el element is invalid - The value 'abc' is invalid according to its datatype `'http://www.w3.org/2001/XMLSchema:int'` - The string 'abc' is not a valid Int32 value."
0 commit comments