Skip to content

Commit 964faf4

Browse files
authored
Merge pull request #4158 from dotnet/publish-17651
Merge master into live
2 parents 6c4193e + 4df6140 commit 964faf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xml/System.Diagnostics/DiagnosticListener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ If setup for the notification is expensive, you can call `IsEnabled()` before pe
196196
<Parameter Name="name" Type="System.String" />
197197
</Parameters>
198198
<Docs>
199-
<param name="name">To be added.</param>
199+
<param name="name">The name of the event to check.</param>
200200
<summary>Checks whether the <see cref="T:System.Diagnostics.DiagnosticListener" /> is enabled.</summary>
201201
<returns>
202202
<see langword="true" /> if notifications are enabled; otherwise, <see langword="false" />.</returns>

xml/ns-System.Xml.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
3333
<a name="async"></a>
3434
## Processing XML asynchronously
35-
The <xref:System.Xml.XmlReader?displayProperty=nameWithType> and <xref:System.Xml.XmlWriter?displayProperty=nameWithType> classes include a number of asynchronous methods that are based on the . These methods can be identified by the string "Async" at the end of their names. With these methods, you can write asynchronous code that's similar to your synchronous code, and you can migrate your existing synchronous code to asynchronous code easily.
35+
The <xref:System.Xml.XmlReader?displayProperty=nameWithType> and <xref:System.Xml.XmlWriter?displayProperty=nameWithType> classes include a number of asynchronous methods that are based on the asynchronous programming model. These methods can be identified by the string "Async" at the end of their names. With these methods, you can write asynchronous code that's similar to your synchronous code, and you can migrate your existing synchronous code to asynchronous code easily.
3636
3737
- Use the asynchronous methods in apps where there is significant network stream latency. Avoid using the asynchronous APIs for memory stream or local file stream read/write operations. The input stream, <xref:System.Xml.XmlTextReader>, and <xref:System.Xml.XmlTextWriter> should support asynchronous operations as well. Otherwise, threads will still be blocked by I/O operations.
3838
@@ -245,4 +245,4 @@
245245
<altmember cref="N:System.Xml.Linq" />
246246
<related type="Article" href="~/docs/standard/data/xml/index.md">XML Documents and Data</related>
247247
</Docs>
248-
</Namespace>
248+
</Namespace>

0 commit comments

Comments
 (0)