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.Net.Security/AuthenticatedStream.xml
-18Lines changed: 0 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -59,12 +59,9 @@
59
59
60
60
The security protocol implemented by a class that derives from <xref:System.Net.Security.AuthenticatedStream> together with the security protocols supported on the client and server will determine the security features that are available to an application. The <xref:System.Net.Security.NegotiateStream> and <xref:System.Net.Security.SslStream> classes inherit from <xref:System.Net.Security.AuthenticatedStream> and implement the Negotiate and Secure Sockets Layer security protocols, respectively.
61
61
62
-
63
-
64
62
## Examples
65
63
The following example demonstrates displaying the properties of an authenticated stream.
@@ -394,12 +388,9 @@ The following example demonstrates displaying the value of this property.
394
388
## Remarks
395
389
Encryption helps to protect the privacy of the data; namely, it helps to ensure that while data is in transit, it cannot be deciphered by third parties.
396
390
397
-
398
-
399
391
## Examples
400
392
The following example demonstrates displaying the value of this property.
@@ -452,12 +443,9 @@ The following example demonstrates displaying the value of this property.
452
443
## Remarks
453
444
Not all security protocols support mutual authentication. To determine whether mutual authentication is supported by the security protocol implemented in a class that inherits from <xref:System.Net.Security.AuthenticatedStream>, check the class documentation.
454
445
455
-
456
-
457
446
## Examples
458
447
The following example demonstrates displaying the value of this property.
@@ -510,12 +498,9 @@ The following example demonstrates displaying the value of this property.
510
498
## Remarks
511
499
Most security protocols used for client-server authentication define specific behavior and requirements for supplying credentials for authentication based on whether you are the client or the server.
512
500
513
-
514
-
515
501
## Examples
516
502
The following example demonstrates displaying the value of this property.
@@ -568,12 +553,9 @@ The following example demonstrates displaying the value of this property.
568
553
## Remarks
569
554
Data signing helps to protect the integrity of the data; namely, it helps the recipient determine whether the data has been tampered with while in transit.
570
555
571
-
572
-
573
556
## Examples
574
557
The following example demonstrates displaying the value of this property.
Copy file name to clipboardExpand all lines: xml/System.Xml.Schema/XmlSchemaCollection.xml
+17-20Lines changed: 17 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@
114
114
## Remarks
115
115
116
116
> [!IMPORTANT]
117
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
117
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
118
118
119
119
]]></format>
120
120
</remarks>
@@ -160,7 +160,7 @@
160
160
## Remarks
161
161
162
162
> [!IMPORTANT]
163
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
163
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
164
164
165
165
]]></format>
166
166
</remarks>
@@ -221,7 +221,7 @@
221
221
## Remarks
222
222
223
223
> [!IMPORTANT]
224
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
224
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
225
225
226
226
]]></format>
227
227
</remarks>
@@ -292,7 +292,7 @@
292
292
> If the `XmlSchemaCollection` is being accessed using the <xref:System.Xml.XmlValidatingReader.Schemas%2A?displayProperty=nameWithType> property, the `Add` method uses the `XmlResolver` specified by the <xref:System.Xml.XmlValidatingReader.XmlResolver%2A?displayProperty=nameWithType> property.
293
293
294
294
> [!IMPORTANT]
295
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
295
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
296
296
297
297
]]></format>
298
298
</remarks>
@@ -354,7 +354,7 @@
354
354
> If the `XmlSchemaCollection` is being accessed using the <xref:System.Xml.XmlValidatingReader.Schemas%2A?displayProperty=nameWithType> property, the `Add` method uses the `XmlResolver` specified by the <xref:System.Xml.XmlValidatingReader.XmlResolver%2A?displayProperty=nameWithType> property.
355
355
356
356
> [!IMPORTANT]
357
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
357
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> If the `XmlSchemaCollection` is being accessed using the <xref:System.Xml.XmlValidatingReader.Schemas%2A?displayProperty=nameWithType> property, the `Add` method uses the `XmlResolver` specified by the <xref:System.Xml.XmlValidatingReader.XmlResolver%2A?displayProperty=nameWithType> property.
438
438
439
439
> [!IMPORTANT]
440
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
441
-
442
-
440
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
443
441
444
442
## Examples
445
443
The following example validates three XML files using schemas stored in the `XmlSchemaCollection`.
> If the `XmlSchemaCollection` is being accessed using the <xref:System.Xml.XmlValidatingReader.Schemas%2A?displayProperty=nameWithType> property, the `Add` method uses the `XmlResolver` specified by the <xref:System.Xml.XmlValidatingReader.XmlResolver%2A?displayProperty=nameWithType> property.
547
544
548
545
> [!IMPORTANT]
549
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
546
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
If the schema being added contains references to other namespaces (through `include` and `import` elements or the `x-schema` attribute), the schemas for these other namespaces are loaded for validation purposes only. Unlike the original schema, these other schemas are not explicitly added to the schema collection. As a result, they are not accessible using any of the collection methods or properties.
698
695
699
696
> [!IMPORTANT]
700
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
697
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
721
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
777
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
841
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
896
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
949
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
1000
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
1071
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
1136
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
These events occur when the schemas are added to the collection. If an event handler is not provided, an <xref:System.Xml.Schema.XmlSchemaException> is thrown on any validation errors where the <xref:System.Xml.Schema.ValidationEventArgs.Severity%2A> is `XmlSeverityType.Error`. To specify an event handler, define a callback function and add it to the `ValidationEventHandler`.
1446
1443
1447
1444
> [!IMPORTANT]
1448
-
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
1445
+
> The <xref:System.Xml.Schema.XmlSchemaCollection> class is obsolete in .NET Framework version 2.0 and has been replaced by the <xref:System.Xml.Schema.XmlSchemaSet> class.
0 commit comments