Skip to content

Commit 0485112

Browse files
committed
remove other references to deleted snippets
1 parent 717b557 commit 0485112

File tree

4 files changed

+27
-53
lines changed

4 files changed

+27
-53
lines changed

xml/System.Net.Security/AuthenticatedStream.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,9 @@
5959
6060
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.
6161
62-
63-
6462
## Examples
6563
The following example demonstrates displaying the properties of an authenticated stream.
6664
67-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclNegoasyncClient/CPP/NclNegoasyncClient.cpp" id="Snippet6":::
6865
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6":::
6966
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6":::
7067
@@ -336,12 +333,9 @@ The following example demonstrates displaying the properties of an authenticated
336333
## Remarks
337334
The methods called to perform authentication are defined in the classes that inherit from <xref:System.Net.Security.AuthenticatedStream>.
338335
339-
340-
341336
## Examples
342337
The following example demonstrates displaying the value of this property.
343338
344-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclNegoasyncClient/CPP/NclNegoasyncClient.cpp" id="Snippet6":::
345339
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6":::
346340
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6":::
347341
@@ -394,12 +388,9 @@ The following example demonstrates displaying the value of this property.
394388
## Remarks
395389
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.
396390
397-
398-
399391
## Examples
400392
The following example demonstrates displaying the value of this property.
401393
402-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclNegoasyncClient/CPP/NclNegoasyncClient.cpp" id="Snippet6":::
403394
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6":::
404395
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6":::
405396
@@ -452,12 +443,9 @@ The following example demonstrates displaying the value of this property.
452443
## Remarks
453444
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.
454445
455-
456-
457446
## Examples
458447
The following example demonstrates displaying the value of this property.
459448
460-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclNegoasyncClient/CPP/NclNegoasyncClient.cpp" id="Snippet6":::
461449
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6":::
462450
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6":::
463451
@@ -510,12 +498,9 @@ The following example demonstrates displaying the value of this property.
510498
## Remarks
511499
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.
512500
513-
514-
515501
## Examples
516502
The following example demonstrates displaying the value of this property.
517503
518-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclNegoasyncClient/CPP/NclNegoasyncClient.cpp" id="Snippet6":::
519504
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6":::
520505
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6":::
521506
@@ -568,12 +553,9 @@ The following example demonstrates displaying the value of this property.
568553
## Remarks
569554
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.
570555
571-
572-
573556
## Examples
574557
The following example demonstrates displaying the value of this property.
575558
576-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclNegoasyncClient/CPP/NclNegoasyncClient.cpp" id="Snippet6":::
577559
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6":::
578560
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6":::
579561

xml/System.Net.Security/ProtectionLevel.xml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,16 @@
4343
<Docs>
4444
<summary>Indicates the security services requested for an authenticated stream.</summary>
4545
<remarks>
46-
<format type="text/markdown"><![CDATA[
47-
48-
## Remarks
49-
This enumeration is used by the <xref:System.Net.Security.NegotiateStream> class.
50-
51-
52-
53-
## Examples
54-
The following code example demonstrates creating and using a client-side <xref:System.Net.Security.NegotiateStream>.
55-
56-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclNegoSyncClient/CPP/NclNegoSyncClient.cpp" id="Snippet0":::
57-
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/NegotiateStream/.ctor/client.cs" id="Snippet0":::
58-
46+
<format type="text/markdown"><![CDATA[
47+
48+
## Remarks
49+
This enumeration is used by the <xref:System.Net.Security.NegotiateStream> class.
50+
51+
## Examples
52+
The following code example demonstrates creating and using a client-side <xref:System.Net.Security.NegotiateStream>.
53+
54+
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/NegotiateStream/.ctor/client.cs" id="Snippet0":::
55+
5956
]]></format>
6057
</remarks>
6158
</Docs>

xml/System.Xml.Schema/XmlSchemaCollection.xml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
## Remarks
115115
116116
> [!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.
118118
119119
]]></format>
120120
</remarks>
@@ -160,7 +160,7 @@
160160
## Remarks
161161
162162
> [!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.
164164
165165
]]></format>
166166
</remarks>
@@ -221,7 +221,7 @@
221221
## Remarks
222222
223223
> [!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.
225225
226226
]]></format>
227227
</remarks>
@@ -292,7 +292,7 @@
292292
> 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.
293293
294294
> [!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.
296296
297297
]]></format>
298298
</remarks>
@@ -354,7 +354,7 @@
354354
> 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.
355355
356356
> [!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.
358358
359359
]]></format>
360360
</remarks>
@@ -437,14 +437,11 @@ schemaColl.Add("urn:author", "names.xsd");
437437
> 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.
438438
439439
> [!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.
443441
444442
## Examples
445443
The following example validates three XML files using schemas stored in the `XmlSchemaCollection`.
446444
447-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Data/Classic WebData XmlValidatingReader.Schemas Example/CPP/source.cpp" id="Snippet1":::
448445
:::code language="csharp" source="~/snippets/csharp/System.Xml/XmlValidatingReader/Schemas/source.cs" id="Snippet1":::
449446
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/Classic WebData XmlValidatingReader.Schemas Example/VB/source.vb" id="Snippet1":::
450447
@@ -546,7 +543,7 @@ schemaColl.Add("urn:author", "names.xsd");
546543
> 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.
547544
548545
> [!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.
550547
551548
]]></format>
552549
</remarks>
@@ -697,7 +694,7 @@ schemaColl.Add("urn:author", "names.xsd");
697694
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.
698695
699696
> [!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.
701698
702699
]]></format>
703700
</remarks>
@@ -721,7 +718,7 @@ schemaColl.Add("urn:author", "names.xsd");
721718
## Remarks
722719
723720
> [!IMPORTANT]
724-
> 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.
725722
726723
]]></format>
727724
</remarks>
@@ -777,7 +774,7 @@ schemaColl.Add("urn:author", "names.xsd");
777774
## Remarks
778775
779776
> [!IMPORTANT]
780-
> 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.
781778
782779
783780
@@ -841,7 +838,7 @@ schemaColl.Add("urn:author", "names.xsd");
841838
## Remarks
842839
843840
> [!IMPORTANT]
844-
> 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.
845842
846843
]]></format>
847844
</remarks>
@@ -896,7 +893,7 @@ schemaColl.Add("urn:author", "names.xsd");
896893
## Remarks
897894
898895
> [!IMPORTANT]
899-
> 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.
900897
901898
]]></format>
902899
</remarks>
@@ -949,7 +946,7 @@ schemaColl.Add("urn:author", "names.xsd");
949946
## Remarks
950947
951948
> [!IMPORTANT]
952-
> 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.
953950
954951
]]></format>
955952
</remarks>
@@ -1000,7 +997,7 @@ schemaColl.Add("urn:author", "names.xsd");
1000997
## Remarks
1001998
1002999
> [!IMPORTANT]
1003-
> 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.
10041001
10051002
10061003
@@ -1071,7 +1068,7 @@ schemaColl.Add("urn:author", "names.xsd");
10711068
## Remarks
10721069
10731070
> [!IMPORTANT]
1074-
> 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.
10751072
10761073
10771074
@@ -1136,7 +1133,7 @@ schemaColl.Add("urn:author", "names.xsd");
11361133
## Remarks
11371134
11381135
> [!IMPORTANT]
1139-
> 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.
11401137
11411138
]]></format>
11421139
</remarks>
@@ -1445,7 +1442,7 @@ schemaColl.Add("urn:author", "names.xsd");
14451442
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`.
14461443
14471444
> [!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.
14491446
14501447
14511448

xml/System.Xml/XmlProcessingInstruction.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@
255255
## Examples
256256
The following example creates a processing instruction node and adds it to a document.
257257
258-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocument.CreateProcessingInstruction Example/CPP/source.cpp" id="Snippet1":::
259258
:::code language="csharp" source="~/snippets/csharp/System.Xml/XmlDocument/CreateProcessingInstruction/source.cs" id="Snippet1":::
260259
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/Classic WebData XmlDocument.CreateProcessingInstruction Example/VB/source.vb" id="Snippet1":::
261260
@@ -525,7 +524,6 @@
525524
## Examples
526525
The following example creates a processing instruction node and adds it to a document.
527526
528-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocument.CreateProcessingInstruction Example/CPP/source.cpp" id="Snippet1":::
529527
:::code language="csharp" source="~/snippets/csharp/System.Xml/XmlDocument/CreateProcessingInstruction/source.cs" id="Snippet1":::
530528
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/Classic WebData XmlDocument.CreateProcessingInstruction Example/VB/source.vb" id="Snippet1":::
531529

0 commit comments

Comments
 (0)