Skip to content

Commit 9473f33

Browse files
carlossanlopPrashanth Govindarajan
authored andcommitted
Automatic port of System.Threading.ExecutionContext.Restore doc (dotnet#4887)
* Automatic port of System.Threading.ExecutionContext.Restore doc * Update xml/System.Threading/ExecutionContext.xml Co-authored-by: Prashanth Govindarajan <[email protected]> * Apply suggestions from code review Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Prashanth Govindarajan <[email protected]>
1 parent 7ee0284 commit 9473f33

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

xml/System.Threading/ExecutionContext.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,17 @@
359359
<Parameter Name="executionContext" Type="System.Threading.ExecutionContext" Index="0" FrameworkAlternate="net-5.0" />
360360
</Parameters>
361361
<Docs>
362-
<param name="executionContext">To be added.</param>
363-
<summary>To be added.</summary>
364-
<remarks>To be added.</remarks>
362+
<param name="executionContext">The ExecutionContext to set.</param>
363+
<summary>Restores a captured execution context on to the current thread.</summary>
364+
<remarks>
365+
<format type="text/markdown"><![CDATA[
366+
367+
## Remarks
368+
369+
To revert to the current execution context; capture it before calling Restore, and then call Restore it again.
370+
371+
]]></format>
372+
</remarks>
365373
</Docs>
366374
</Member>
367375
<Member MemberName="RestoreFlow">

0 commit comments

Comments
 (0)