Skip to content

Commit c96f0bf

Browse files
authored
Typo fix - update to chaining tasks using continuation tasks article (dotnet#35188)
- Change (The result of the written to the console.) to (The result of the antecedent task is written to the console.)
1 parent 0cba2cc commit c96f0bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard/parallel-programming/chaining-tasks-by-using-continuation-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ A continuation is itself a <xref:System.Threading.Tasks.Task> and doesn't block
3434

3535
## Create a continuation for a single antecedent
3636

37-
You create a continuation that executes when its antecedent has completed by calling the <xref:System.Threading.Tasks.Task.ContinueWith%2A?displayProperty=nameWithType> method. The following example shows the basic pattern (for clarity, exception handling is omitted). It executes an antecedent task `taskA` that returns a <xref:System.DayOfWeek> object that indicates the name of the current day of the week. When `taskA` completes, the `antecedent` represents its results in the `ContinueWith` continuation method. The result of the written to the console.
37+
You create a continuation that executes when its antecedent has completed by calling the <xref:System.Threading.Tasks.Task.ContinueWith%2A?displayProperty=nameWithType> method. The following example shows the basic pattern (for clarity, exception handling is omitted). It executes an antecedent task `taskA` that returns a <xref:System.DayOfWeek> object that indicates the name of the current day of the week. When `taskA` completes, the `antecedent` represents its results in the `ContinueWith` continuation method. The result of the antecedent task is written to the console.
3838

3939
:::code language="csharp" source="snippets/cs/simple1.cs":::
4040

0 commit comments

Comments
 (0)