Skip to content

Commit f95f9de

Browse files
mairawRon Petrusha
authored andcommitted
recover some dropout examples (#2731)
* recover some dropout examples * fix file names
1 parent 03995f5 commit f95f9de

15 files changed

+153
-62
lines changed

xml/System.Web.Services.Protocols/HttpGetClientProtocol.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
4141
The following example is the `Math` XML Web service, from which the above proxy class was created.
4242
43-
43+
[!code-aspx-csharp[Classic HttpGetClientProtocol Example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/CS/sourcecs.asmx)]
44+
[!code-aspx-vb[Classic HttpGetClientProtocol Example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/sourcevb.asmx)]
4445
4546
]]></format>
4647
</remarks>

xml/System.Web.Services.Protocols/HttpPostClientProtocol.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
4141
The following example is the `Math` XML Web service, from which the previous proxy class was created.
4242
43-
43+
[!code-aspx-csharp[Classic HttpPostClientProtocol Example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/CS/sourcecs.asmx)]
44+
[!code-aspx-vb[Classic HttpPostClientProtocol Example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/VB/sourcevb.asmx)]
4445
4546
]]></format>
4647
</remarks>

xml/System.Web.Services.Protocols/HttpSimpleClientProtocol.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128
129129
The following code example is the `Math` XML Web service, from which the preceding proxy class was created.
130130
131-
131+
[!code-aspx-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/CS/sourcecs.asmx)]
132+
[!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.asmx)]
132133
133134
]]></format>
134135
</remarks>
@@ -177,7 +178,8 @@
177178
178179
The following code example is the `Math` XML Web service, from which the above proxy class was created.
179180
180-
181+
[!code-aspx-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/CS/sourcecs.asmx)]
182+
[!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.asmx)]
181183
182184
]]></format>
183185
</remarks>
@@ -235,7 +237,8 @@
235237
236238
The following code example is the `Math` XML Web service, from which the above proxy class was created.
237239
238-
240+
[!code-aspx-csharp[HttpSimpleClientProtocol.Invoke Example#3](~/samples/snippets/csharp/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/CS/sourcecs.asmx)]
241+
[!code-aspx-vb[HttpSimpleClientProtocol.Invoke Example#3](~/samples/snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/sourcevb.asmx)]
239242
240243
]]></format>
241244
</remarks>

xml/System.Web.Services.Protocols/SoapDocumentMethodAttribute.xml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
## Examples
4242
The following code example sets the message style to `Document` for the `GetUserName` XML Web service method. Additionally, the XML element with the `Body` element for the SOAP request and SOAP response are set to `GetUserNameRequest` and `GetUserNameResponse`, respectively.
4343
44-
44+
[!code-aspx-csharp[SoapDocumentMethodAttribute#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute/CS/sourcecs.asmx)]
45+
[!code-aspx-vb[SoapDocumentMethodAttribute#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute/VB/sourcevb.asmx)]
4546
4647
]]></format>
4748
</remarks>
@@ -140,7 +141,8 @@
140141
## Examples
141142
The following code example sets the <xref:System.Web.Services.Protocols.SoapDocumentMethodAttribute.Action%2A> property to `http://www.contoso.com/GetUserName`.
142143
143-
144+
[!code-aspx-csharp[SoapDocumentMethodAttribute.Action#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.Action/CS/sourcecs.asmx)]
145+
[!code-aspx-vb[SoapDocumentMethodAttribute.Action#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.Action/VB/sourcevb.asmx)]
144146
145147
]]></format>
146148
</remarks>
@@ -219,7 +221,8 @@
219221
## Examples
220222
The following code example is an XML Web service method that does not require the client to wait for the XML Web service method to complete. Therefore, the sample sets the <xref:System.Web.Services.Protocols.SoapDocumentMethodAttribute.OneWay%2A> property to `true`.
221223
222-
224+
[!code-aspx-csharp[SoapDocumentMethodAttribute.OneWay#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.OneWay/CS/sourcecs.asmx)]
225+
[!code-aspx-vb[SoapDocumentMethodAttribute.OneWay#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.OneWay/VB/sourcevb.asmx)]
223226
224227
]]></format>
225228
</remarks>
@@ -253,7 +256,8 @@
253256
## Examples
254257
The following code example specifies that parameters sent in the SOAP messages sent to and from the `PlaceOrder` XML Web service method are not encapsulated within one XML element.
255258
256-
259+
[!code-aspx-csharp[SoapDocumentMethodAttribute.ParameterStyle#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.ParameterStyle/CS/sourcecs.asmx)]
260+
[!code-aspx-vb[SoapDocumentMethodAttribute.ParameterStyle#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.ParameterStyle/VB/sourcevb.asmx)]
257261
258262
]]></format>
259263
</remarks>
@@ -293,7 +297,8 @@
293297
## Examples
294298
The following code example sets the name of the XML element associated with the XML Web service method in the SOAP request to `MyCustomElement`.
295299
296-
300+
[!code-aspx-csharp[SoapDocumentMethodAttribute.RequestNamespace#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.RequestNamespace/CS/examplecs.asmx)]
301+
[!code-aspx-vb[SoapDocumentMethodAttribute.RequestNamespace#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.RequestNamespace/VB/examplevb.asmx)]
297302
298303
]]></format>
299304
</remarks>
@@ -331,7 +336,8 @@
331336
## Examples
332337
The following code example sets the <xref:System.Web.Services.Protocols.SoapDocumentMethodAttribute.RequestNamespace%2A> property to `http://www.contoso.com`.
333338
334-
339+
[!code-aspx-csharp[SoapDocumentMethodAttribute.RequestNamespace#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.RequestNamespace/CS/examplecs.asmx)]
340+
[!code-aspx-vb[SoapDocumentMethodAttribute.RequestNamespace#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.RequestNamespace/VB/examplevb.asmx)]
335341
336342
]]></format>
337343
</remarks>
@@ -369,7 +375,8 @@
369375
## Examples
370376
The following code example sets the name of the XML element associated with the XML Web service method in the SOAP response to `MyCustomResponseElement`.
371377
372-
378+
[!code-aspx-csharp[SoapDocumentMethodAttribute.ResponseNamespace#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.ResponseNamespace/CS/examplecs.asmx)]
379+
[!code-aspx-vb[SoapDocumentMethodAttribute.ResponseNamespace#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.ResponseNamespace/VB/examplevb.asmx)]
373380
374381
]]></format>
375382
</remarks>
@@ -407,7 +414,8 @@
407414
## Examples
408415
The following code example sets the <xref:System.Web.Services.Protocols.SoapDocumentMethodAttribute.ResponseNamespace%2A> property to `http://www.contoso.com`.
409416
410-
417+
[!code-aspx-csharp[SoapDocumentMethodAttribute.ResponseNamespace#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.ResponseNamespace/CS/examplecs.asmx)]
418+
[!code-aspx-vb[SoapDocumentMethodAttribute.ResponseNamespace#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.ResponseNamespace/VB/examplevb.asmx)]
411419
412420
]]></format>
413421
</remarks>
@@ -447,7 +455,8 @@
447455
## Examples
448456
The following code example specifies that `Document` / `Encoded` SOAP messages must be sent to the `PlaceOrder` XML Web service method.
449457
450-
458+
[!code-aspx-csharp[SoapDocumentMethodAttribute.Use#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentMethodAttribute.Use/CS/sourcecs.asmx)]
459+
[!code-aspx-vb[SoapDocumentMethodAttribute.Use#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentMethodAttribute.Use/VB/sourcevb.asmx)]
451460
452461
]]></format>
453462
</remarks>

xml/System.Web.Services.Protocols/SoapDocumentServiceAttribute.xml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@
3838
3939
For more details, see [Customizing SOAP Message Formatting](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/dkwy2d72(v=vs.100)).
4040
41-
This attribute can be applied to a class implementing an XML Web service.
41+
This attribute can be applied to a class implementing an XML Web service.
42+
43+
44+
## Examples
45+
46+
[!code-aspx-csharp[SoapDocumentServiceAttribute#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentServiceAttribute/CS/sourcecs.asmx)]
47+
[!code-aspx-vb[SoapDocumentServiceAttribute#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentServiceAttribute/VB/sourcevb.asmx)]
4248
4349
]]></format>
4450
</remarks>
@@ -148,7 +154,16 @@
148154
<Docs>
149155
<summary>Gets or sets the default setting that controls whether parameters are encapsulated within a single element following the <see langword="&lt;Body&gt;" /> element in the XML portion of a SOAP message for XML Web service methods of the XML Web service.</summary>
150156
<value>The default <see cref="T:System.Web.Services.Protocols.SoapParameterStyle" /> for SOAP requests and SOAP responses to and from XML Web service methods within the XML Web service. If not set, the default is <see cref="F:System.Web.Services.Protocols.SoapParameterStyle.Wrapped" />.</value>
151-
<remarks>To be added.</remarks>
157+
<remarks>
158+
<format type="text/markdown"><![CDATA[
159+
160+
## Examples
161+
162+
[!code-aspx-csharp[SoapDocumentServiceAttribute_UseParameterStyle#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentServiceAttribute_UseParameterStyle/CS/sourcecs.asmx)]
163+
[!code-aspx-vb[SoapDocumentServiceAttribute_UseParameterStyle#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentServiceAttribute_UseParameterStyle/VB/sourcevb.asmx)]
164+
165+
]]></format>
166+
</remarks>
152167
<altmember cref="T:System.Web.Services.Protocols.SoapParameterStyle" />
153168
<related type="Article" href="https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/dkwy2d72(v=vs.100)">Customizing SOAP Message Formatting</related>
154169
</Docs>
@@ -174,7 +189,16 @@
174189
<Docs>
175190
<summary>Gets or sets how SOAP messages are routed to the XML Web service.</summary>
176191
<value>A <see cref="T:System.Web.Services.Protocols.SoapServiceRoutingStyle" /> that represents how SOAP messages are routed to the XML Web service. The default value is <see cref="F:System.Web.Services.Protocols.SoapServiceRoutingStyle.SoapAction" />.</value>
177-
<remarks>To be added.</remarks>
192+
<remarks>
193+
<format type="text/markdown"><![CDATA[
194+
195+
## Examples
196+
197+
[!code-aspx-csharp[SoapDocumentServiceAttribute#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentServiceAttribute/CS/sourcecs.asmx)]
198+
[!code-aspx-vb[SoapDocumentServiceAttribute#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentServiceAttribute/VB/sourcevb.asmx)]
199+
200+
]]></format>
201+
</remarks>
178202
</Docs>
179203
</Member>
180204
<Member MemberName="Use">
@@ -206,6 +230,11 @@
206230
207231
For more details, see [Customizing SOAP Message Formatting](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/dkwy2d72(v=vs.100)).
208232
233+
## Examples
234+
235+
[!code-aspx-csharp[SoapDocumentServiceAttribute_UseParameterStyle#1](~/samples/snippets/csharp/VS_Snippets_Remoting/SoapDocumentServiceAttribute_UseParameterStyle/CS/sourcecs.asmx)]
236+
[!code-aspx-vb[SoapDocumentServiceAttribute_UseParameterStyle#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/SoapDocumentServiceAttribute_UseParameterStyle/VB/sourcevb.asmx)]
237+
209238
]]></format>
210239
</remarks>
211240
<altmember cref="T:System.Web.Services.Description.SoapBindingUse" />

xml/System.Web.Services.Protocols/SoapException.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
## Examples
4444
The following example throws a <xref:System.Web.Services.Protocols.SoapException> where the XML Web service method sets the <xref:System.Web.Services.Protocols.SoapException.Detail%2A> property.
4545
46-
46+
[!code-aspx-csharp[Classic SoapException Example#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapException Example/CS/sourcecs.asmx)]
47+
[!code-aspx-vb[Classic SoapException Example#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapException Example/VB/sourcevb.asmx)]
4748
4849
]]></format>
4950
</remarks>
@@ -450,7 +451,8 @@
450451
451452
In order for the preceding Web Form to use the following `Math` Web Service example, a namespace of `MyMath` was specified during the creation of the proxy class.
452453
453-
454+
[!code-aspx-csharp[Classic SoapException.Actor Example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapException.Actor Example/CS/sourcecs.asmx)]
455+
[!code-aspx-vb[Classic SoapException.Actor Example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapException.Actor Example/VB/sourcevb.asmx)]
454456
455457
]]></format>
456458
</remarks>
@@ -483,7 +485,10 @@
483485
484486
## Remarks
485487
An example of when a <xref:System.Web.Services.Protocols.SoapException.ClientFaultCode> can be generated, is when a client call does not have proper authentication or payment information. It is generally an indication that the client call must be changed before it is resent.
486-
488+
489+
[!code-aspx-csharp[Classic SoapException.Detail Example#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapException.Detail Example/CS/sourcecs.asmx)]
490+
[!code-aspx-vb[Classic SoapException.Detail Example#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapException.Detail Example/VB/sourcevb.asmx)]
491+
487492
]]></format>
488493
</remarks>
489494
</Docs>
@@ -536,7 +541,8 @@
536541
537542
In order for the preceding Web Form to use the following `Math` XML Web service example, a namespace of `MyMath` was specified during the creation of the proxy class.
538543
539-
544+
[!code-aspx-csharp[classic soapexception.actor example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapException.Actor Example/CS/sourcecs.asmx)]
545+
[!code-aspx-vb[classic soapexception.actor example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapException.Actor Example/VB/sourcevb.asmx)]
540546
541547
]]></format>
542548
</remarks>
@@ -584,7 +590,8 @@
584590
## Examples
585591
The following example throws a <xref:System.Web.Services.Protocols.SoapException>, where the XML Web service method sets the <xref:System.Web.Services.Protocols.SoapException.Detail%2A> property.
586592
587-
593+
[!code-aspx-csharp[Classic SoapException.Detail#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapException.Detail Example/CS/sourcecs.asmx)]
594+
[!code-aspx-vb[Classic SoapException.Detail#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapException.Detail Example/VB/sourcevb.asmx)]
588595
589596
]]></format>
590597
</remarks>
@@ -623,7 +630,8 @@
623630
## Examples
624631
The following example sets the <xref:System.Web.Services.Protocols.SoapException.Detail%2A> property using the <xref:System.Web.Services.Protocols.SoapException.DetailElementName> field and then throws a <xref:System.Web.Services.Protocols.SoapException>.
625632
626-
633+
[!code-aspx-csharp[Classic SoapException.DetailElementName#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapException.DetailElementName Example/CS/sourcecs.asmx)]
634+
[!code-aspx-vb[Classic SoapException.DetailElementName#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapException.DetailElementName Example/VB/sourcevb.asmx)]
627635
628636
]]></format>
629637
</remarks>

xml/System.Web.Services.Protocols/SoapHeader.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
## Examples
4848
The following `MyWebService` XML Web service defines the `MyHeader` SOAP header and requires it to be sent with any calls to the `MyWebMethod` XML Web service method. Additionally, `MyWebMethod` receives any SOAP headers other than the `MyHeader` SOAP header.
4949
50-
50+
[!code-aspx-csharp[Classic SoapHeader.DidUnderstand Example#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapHeader.DidUnderstand Example/CS/sourcecs.asmx)]
51+
[!code-aspx-vb[Classic SoapHeader.DidUnderstand Example#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.DidUnderstand Example/VB/sourcevb.asmx)]
5152
5253
]]></format>
5354
</remarks>
@@ -175,7 +176,8 @@
175176
## Examples
176177
The following `MyWebService` XML Web service defines the `MyHeader` SOAP header and requires it to be sent with any calls to the `MyWebMethod` XML Web service method. Additionally, the `MyWebMethod` receives any SOAP headers other than the `MyHeader` SOAP header. For SOAP headers that `MyWebMethod` can process, <xref:System.Web.Services.Protocols.SoapHeader.DidUnderstand%2A> is set to `true`.
177178
178-
179+
[!code-aspx-csharp[Classic SoapHeader.DidUnderstand Example#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapHeader.DidUnderstand Example/CS/sourcecs.asmx)]
180+
[!code-aspx-vb[Classic SoapHeader.DidUnderstand Example#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.DidUnderstand Example/VB/sourcevb.asmx)]
179181
180182
]]></format>
181183
</remarks>

xml/System.Web.Services.Protocols/SoapHeaderAttribute.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
## Examples
4848
The following `MyWebService` XML Web service defines one <xref:System.Web.Services.Protocols.SoapHeader> of type `MyHeader`. The `Hello` XML Web service method requires the client to invoke the XML Web service method with this <xref:System.Web.Services.Protocols.SoapHeader>. The `Hello` XML Web service also catches any SOAP headers other than `MyHeader`.
4949
50-
50+
[!code-aspx-csharp[Classic SoapHeaderAttribute Example#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapHeaderAttribute Example/CS/sourcecs.asmx)]
51+
[!code-aspx-vb[Classic SoapHeaderAttribute Example#1](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderAttribute Example/VB/sourcevb.asmx)]
5152
5253
]]></format>
5354
</remarks>

xml/System.Web.Services.Protocols/SoapHttpClientProtocol.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
> [!IMPORTANT]
4646
> This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see [Script Exploits Overview](https://msdn.microsoft.com/library/772c7312-211a-4eb3-8d6e-eec0aa1dcc07).
4747
48+
[!code-aspx-csharp[Classic SoapHttpClientProtocol Example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/CS/sourcecs.asmx)]
49+
[!code-aspx-vb[Classic SoapHttpClientProtocol Example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/VB/sourcevb.asmx)]
4850
4951
5052
]]></format>
@@ -132,7 +134,8 @@
132134
133135
The following code example is the `Math` XML Web service, from which the preceding proxy class was created.
134136
135-
137+
[!code-aspx-csharp[Classic SoapHttpClientProtocol.BeginInvoke Example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/CS/sourcecs.asmx)]
138+
[!code-aspx-vb[Classic SoapHttpClientProtocol.BeginInvoke Example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/VB/sourcevb.asmx)]
136139
137140
]]></format>
138141
</remarks>
@@ -250,7 +253,8 @@ The proxy class does not have a binding defined.</exception>
250253
251254
The following code example is the `Math` XML Web service, from which the preceding proxy class was created.
252255
253-
256+
[!code-aspx-csharp[Classic SoapHttpClientProtocol.EndInvoke Example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/CS/sourcecs.asmx)]
257+
[!code-aspx-vb[Classic SoapHttpClientProtocol.EndInvoke Example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/VB/sourcevb.asmx)]
254258
255259
]]></format>
256260
</remarks>
@@ -418,7 +422,8 @@ The proxy class does not have a binding defined.</exception>
418422
419423
The following code example is the `Math` XML Web service, from which the preceding proxy class was created.
420424
421-
425+
[!code-aspx-csharp[Classic SoapHttpClientProtocol.Invoke Example#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/CS/sourcecs.asmx)]
426+
[!code-aspx-vb[Classic SoapHttpClientProtocol.Invoke Example#2](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/VB/sourcevb.asmx)]
422427
423428
]]></format>
424429
</remarks>

0 commit comments

Comments
 (0)