Skip to content

Commit 5b92d7e

Browse files
authored
Fix description on RunConsoleAsync (#4996)
* Fix description on RunConsoleAsync * Apply suggestions from code review
1 parent bf2bb3e commit 5b92d7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/Microsoft.Extensions.Hosting/HostingHostBuilderExtensions.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
213213
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> that can be used to cancel the console.</param>
214214
<summary>Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.</summary>
215-
<returns>A <see cref="T:System.Threading.Tasks.Task" /> that only completes when the console is cancelled or shutdown is triggered.</returns>
215+
<returns>A <see cref="T:System.Threading.Tasks.Task" /> that only completes when the token is signaled or application is shutdown.</returns>
216216
<remarks>To be added.</remarks>
217217
</Docs>
218218
</Member>
@@ -242,7 +242,7 @@
242242
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime" />.</param>
243243
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> that can be used to cancel the console.</param>
244244
<summary>Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.</summary>
245-
<returns>A <see cref="T:System.Threading.Tasks.Task" /> that only completes when the console is cancelled or shutdown is triggered.</returns>
245+
<returns>A <see cref="T:System.Threading.Tasks.Task" /> that only completes when the token is signaled or application is shutdown.</returns>
246246
<remarks>To be added.</remarks>
247247
</Docs>
248248
</Member>

0 commit comments

Comments
 (0)