File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 408
408
409
409
This method shut downs the <xref:System.Net.HttpListener> object without processing queued requests. Any pending requests are unable to complete.
410
410
411
-
412
-
413
411
## Examples
414
- The following code example demonstrates calling this method.
412
+
413
+ The following code example demonstrates calling the `Close` method:
415
414
416
- [!code-csharp[Net_Listener_Basic#2 ](~/samples/snippets/csharp/VS_Snippets_Remoting/Net_Listener_Basic/CS/test.cs#2 )]
415
+ [!code-csharp[Net_Listener_Basic#12 ](~/samples/snippets/csharp/VS_Snippets_Remoting/Net_Listener_Basic/CS/test.cs#12 )]
417
416
418
417
]]> </format >
419
418
</remarks >
1136
1135
1137
1136
1138
1137
## Examples
1139
- The following code example demonstrates using the <xref:System.Net.HttpListener.Stop%2A> method to stop processing incoming requests.
1140
-
1141
- [!code-csharp[Net_Listener_Basic#12](~/samples/snippets/csharp/VS_Snippets_Remoting/Net_Listener_Basic/CS/test.cs#12)]
1138
+
1139
+ The following code example demonstrates using the <xref:System.Net.HttpListener.Stop%2A> method to stop processing incoming requests.
1140
+
1141
+ [!code-csharp[Net_Listener_Basic#2](~/samples/snippets/csharp/VS_Snippets_Remoting/Net_Listener_Basic/CS/test.cs#2)]
1142
1142
1143
1143
]]> </format >
1144
1144
</remarks >
1302
1302
</Docs >
1303
1303
</Member >
1304
1304
</Members >
1305
- </Type >
1305
+ </Type >
You can’t perform that action at this time.
0 commit comments